summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-12-01 08:54:37 -0500
committerNatalia <124304+nessita@users.noreply.github.com>2025-12-01 16:34:02 -0300
commit2e3953f0a2de7bb702d393279d9dbbe2581a21a5 (patch)
treeaaa6fcf866d10e5d6166e23fdbab877af4a2eeb6 /django/core
parent4768197d8a9bb15d695594e852a2a0f8cb4cf549 (diff)
[6.0.x] Refs #36743 -- Corrected docstring for DisallowedRedirect.
Backport of ce36c35e76f82f76cdfa5777456e794d481e5afc from main.
Diffstat (limited to 'django/core')
-rw-r--r--django/core/exceptions.py2
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