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
commitc362b1b5294f8da73bf3bc56c9a36b5454406821 (patch)
tree102ed01e0f8eba0b78e0532ddfb39474f2d01a13 /registration/forms.py
parentf90b6dc7ab2cfce4672ead76abcc81ced0b8a4aa (diff)
downloadtroggle-c362b1b5294f8da73bf3bc56c9a36b5454406821.tar.gz
troggle-c362b1b5294f8da73bf3bc56c9a36b5454406821.tar.bz2
troggle-c362b1b5294f8da73bf3bc56c9a36b5454406821.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):