summaryrefslogtreecommitdiff
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:26 -0300
commite2ddec431395330b423ef193548f374b5c2f395e (patch)
treeaea0830b75196372f826bbf754a474f032245797
parentb83ee616c683c5a5879a176a2bbb84cb715a92d5 (diff)
[5.2.x] Refs #36743 -- Corrected docstring for DisallowedRedirect.
Backport of ce36c35e76f82f76cdfa5777456e794d481e5afc from main.
-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 7a02aa19df..3677c2d844 100644
--- a/django/core/exceptions.py
+++ b/django/core/exceptions.py
@@ -54,7 +54,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