From 15ab83ff1b57dab493ac366d866f3e26765599eb Mon Sep 17 00:00:00 2001 From: kinitrupti Date: Tue, 4 Oct 2016 12:01:02 +0530 Subject: Upgraded to django 1.9 --- tbc/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tbc/forms.py') diff --git a/tbc/forms.py b/tbc/forms.py index aa3b477..effe45b 100644 --- a/tbc/forms.py +++ b/tbc/forms.py @@ -16,7 +16,7 @@ class UserProfileForm(forms.ModelForm): self.fields['about_proj'].label = "How did you come to know about the project" class Meta: model = Profile - exclude = ('user') + exclude = ('user',) widgets = { 'about':forms.TextInput(attrs={'placeholder':'Tell us about yourself'}), 'dob':forms.TextInput(attrs={'placeholder':'mm/dd/yyyy'}), -- cgit