aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-25 10:55:39 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-25 10:56:00 +0100
commit122bf81d854c380ea1f9a15d34a955722cca3e0c (patch)
tree07ec3ab5b2adb4b88446ac87fc51f18de940ef9e
parentexplicit comment on non editable fields (diff)
downloadscout-subs-122bf81d854c380ea1f9a15d34a955722cca3e0c.tar.gz
scout-subs-122bf81d854c380ea1f9a15d34a955722cca3e0c.zip
fix chrome showing white page on production
-rw-r--r--accounts/views.py2
-rw-r--r--version.txt2
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