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 | |
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
-rw-r--r-- | accounts/views.py | 2 | ||||
-rw-r--r-- | version.txt | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/version.txt b/version.txt index 8b48a99..251105c 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.5 -rev=3 +rev=4 |