Commit db4ee1a6d6bac382ddd320069598f88a7920f93a
1 parent
bf43d9bc
Exists in
master
and in
5 other branches
Fixing identation error in form #14
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
users/forms.py
@@ -42,6 +42,6 @@ class EditUserForm(forms.ModelForm): | @@ -42,6 +42,6 @@ class EditUserForm(forms.ModelForm): | ||
42 | class UpdateUserForm(forms.ModelForm): | 42 | class UpdateUserForm(forms.ModelForm): |
43 | company_logo = forms.ImageField(label=_('Company Logo'),required=False, error_messages = {'invalid':_("Image files only")}) | 43 | company_logo = forms.ImageField(label=_('Company Logo'),required=False, error_messages = {'invalid':_("Image files only")}) |
44 | 44 | ||
45 | - class Meta: | ||
46 | - model = User | ||
47 | - fields = ['username', 'name', 'email', 'city', 'state', 'birth_date', 'gender', 'cpf', 'phone', 'image'] | 45 | + class Meta: |
46 | + model = User | ||
47 | + fields = ['username', 'name', 'email', 'city', 'state', 'birth_date', 'gender', 'cpf', 'phone', 'image'] | ||
48 | \ No newline at end of file | 48 | \ No newline at end of file |