summaryrefslogtreecommitdiff
path: root/allotter/forms.py
diff options
context:
space:
mode:
authorparth2012-03-27 14:16:44 +0530
committerparth2012-03-27 14:17:18 +0530
commit74b8df5840513c1df669ea05f670e5164b3440f3 (patch)
tree2a13378a258d8353f5cb33d3625f7e7ee8f12032 /allotter/forms.py
parent0cacd717c5bdc6618265b193634584b8ec21418f (diff)
downloadaloha-74b8df5840513c1df669ea05f670e5164b3440f3.tar.gz
aloha-74b8df5840513c1df669ea05f670e5164b3440f3.tar.bz2
aloha-74b8df5840513c1df669ea05f670e5164b3440f3.zip
modified urls and views to make relative urls working
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)