From c362b1b5294f8da73bf3bc56c9a36b5454406821 Mon Sep 17 00:00:00 2001 From: Wookey Date: Tue, 2 Jul 2013 21:11:07 +0100 Subject: 3rd attempt at getting the right syntax for the CSRF protection in --- registration/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registration/forms.py') 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): -- cgit v1.2.3