Skip to content

Commit e2ddec4

Browse files
jacobtylerwallsnessita
authored andcommitted
[5.2.x] Refs #36743 -- Corrected docstring for DisallowedRedirect.
Backport of ce36c35 from main.
1 parent b83ee61 commit e2ddec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/core/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class DisallowedHost(SuspiciousOperation):
5454

5555

5656
class DisallowedRedirect(SuspiciousOperation):
57-
"""Redirect to scheme not in allowed list"""
57+
"""Redirect was too long or scheme was not in allowed list."""
5858

5959
pass
6060

0 commit comments

Comments
 (0)