From e2ddec431395330b423ef193548f374b5c2f395e Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 1 Dec 2025 08:54:37 -0500 Subject: [5.2.x] Refs #36743 -- Corrected docstring for DisallowedRedirect. Backport of ce36c35e76f82f76cdfa5777456e794d481e5afc from main. --- 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 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 -- cgit v1.3