You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
in .contrib.django_util.views.py on line 182 the variable 'return_url' is None if no GET value is given for 'return_url, which will cause a type error.
A default for return_url is provided later in line 187. Would it be possible to move this default to line 172?
Hi,
in .contrib.django_util.views.py on line 182 the variable 'return_url' is None if no GET value is given for 'return_url, which will cause a type error.
A default for return_url is provided later in line 187. Would it be possible to move this default to line 172?
return_url = request.GET.get('return_url', request.META.get('HTTP_REFERER', '/'))
Regards,
Peter
The text was updated successfully, but these errors were encountered: