summaryrefslogtreecommitdiffstats
path: root/registration/forms.py
diff options
context:
space:
mode:
authorWookey <wookey@wookware.org>2013-07-02 21:11:07 +0100
committerWookey <wookey@wookware.org>2013-07-02 21:11:07 +0100
commit9737a09c26bd90bc43980d3673e567d22e1aff80 (patch)
tree0e3631a1d400de8d33e66e1ea8d753945ada40ab /registration/forms.py
parentb90a311d9c7b7dee80e14202ee855354838cfc7f (diff)
downloadtroggle-9737a09c26bd90bc43980d3673e567d22e1aff80.tar.gz
troggle-9737a09c26bd90bc43980d3673e567d22e1aff80.tar.bz2
troggle-9737a09c26bd90bc43980d3673e567d22e1aff80.zip
3rd attempt at getting the right syntax for the CSRF protection in
Diffstat (limited to 'registration/forms.py')
-rw-r--r--registration/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/registration/forms.py b/registration/forms.py
index 9b68279..ad00187 100644
--- a/registration/forms.py
+++ b/registration/forms.py
@@ -16,7 +16,7 @@ from registration.models import RegistrationProfile
# in the HTML. Your mileage may vary. If/when Django ticket #3515
# lands in trunk, this will no longer be necessary.
# This was fixed in 2007, so I guess we don't need this any more. [W]
-#attrs_dict = { 'class': 'required' }
+attrs_dict = { 'class': 'required' }
class RegistrationForm(forms.Form):