diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-01 08:54:37 -0500 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-12-01 16:33:19 -0300 |
| commit | ce36c35e76f82f76cdfa5777456e794d481e5afc (patch) | |
| tree | 1f0b2218c527fc132b57547c598131866ba99c00 /django | |
| parent | e94b19f6abdda70689aa17e399ce5fdef7897674 (diff) | |
Refs #36743 -- Corrected docstring for DisallowedRedirect.
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 0e24f6cb18..93b2bcb87f 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -58,7 +58,7 @@ class DisallowedHost(SuspiciousOperation): class DisallowedRedirect(SuspiciousOperation): - """Redirect to scheme not in allowed list""" + """Redirect was too long or scheme was not in allowed list.""" pass |
