diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-01 08:54:37 -0500 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-12-01 16:34:02 -0300 |
| commit | 2e3953f0a2de7bb702d393279d9dbbe2581a21a5 (patch) | |
| tree | aaa6fcf866d10e5d6166e23fdbab877af4a2eeb6 /django | |
| parent | 4768197d8a9bb15d695594e852a2a0f8cb4cf549 (diff) | |
[6.0.x] Refs #36743 -- Corrected docstring for DisallowedRedirect.
Backport of ce36c35e76f82f76cdfa5777456e794d481e5afc from main.
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 cbc80bd78f..3fd3d849e6 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 |
