summaryrefslogtreecommitdiff
path: root/allotter/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'allotter/forms.py')
-rw-r--r--allotter/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/allotter/forms.py b/allotter/forms.py
index b3a9039..6bd1400 100644
--- a/allotter/forms.py
+++ b/allotter/forms.py
@@ -98,7 +98,7 @@ class UserDetailsForm(forms.Form):
self.helper.form_id = 'id-detailsform'
self.helper.form_method = 'post'
self.helper.form_class = 'form-horizontal'
- self.helper.form_action = "/allotter/details/"
+ self.helper.form_action = "/allotter/"+user.username+"/details/"
self.helper.add_input(Submit('submit', 'Submit'))
super(UserDetailsForm, self).__init__(*args, **kwargs)