views: Add a comment about change in Django 4.0

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2022-07-04 21:03:10 -04:00
1 parent a150cd15bd
commit 40f4a24e92
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ REDIRECT_FIELD_NAME = 'next'
def is_safe_url(url):
"""Check if the URL is safe to redirect to.
Based on Django internal utility.
Based on Django internal utility removed in Django 4.0.
"""
if url is not None: