mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
a150cd15bd
commit
40f4a24e92
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user