diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-25 10:55:39 +0100 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-25 10:56:00 +0100 |
commit | 122bf81d854c380ea1f9a15d34a955722cca3e0c (patch) | |
tree | 07ec3ab5b2adb4b88446ac87fc51f18de940ef9e /accounts/views.py | |
parent | explicit comment on non editable fields (diff) | |
download | scout-subs-122bf81d854c380ea1f9a15d34a955722cca3e0c.tar.gz scout-subs-122bf81d854c380ea1f9a15d34a955722cca3e0c.zip |
fix chrome showing white page on production
Diffstat (limited to 'accounts/views.py')
-rw-r--r-- | accounts/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/views.py b/accounts/views.py index cef575d..dad6075 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -510,7 +510,7 @@ def personal_wrapper(request, errors): # if there wasn't any error redirect to clear POST if len(errors) == 0: - return HttpResponseRedirect("") + return HttpResponseRedirect(request.path_info) else: # no post, create empty validation |