From ce36c35e76f82f76cdfa5777456e794d481e5afc Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 1 Dec 2025 08:54:37 -0500 Subject: Refs #36743 -- Corrected docstring for DisallowedRedirect. --- django/core/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3