diff --git a/users/forms.py b/users/forms.py index ea43577..57fb346 100644 --- a/users/forms.py +++ b/users/forms.py @@ -30,7 +30,9 @@ class AdminUserForm(forms.ModelForm): class Meta: model = User - fields = ['username', 'name', 'email', 'password', 'birth_date', 'city', 'state', 'gender', 'type_profile', 'cpf', 'phone', 'image', 'is_staff', 'is_active'] + fields = ['username', 'name', 'email', 'password', + 'birth_date', 'city', 'state', 'gender', 'type_profile', 'cpf', 'phone', + 'image', 'titration', 'year_titration', 'institution', 'curriculum', 'is_staff', 'is_active'] widgets = { 'password':forms.PasswordInput } @@ -39,7 +41,9 @@ class UserForm(RegisterUserForm): class Meta: model = User - fields = ['username', 'name', 'email', 'birth_date', 'city', 'state', 'gender', 'type_profile', 'cpf', 'phone', 'image', 'titration', 'year_titration', 'institution', 'curriculum', 'is_staff', 'is_active'] + fields = ['username', 'name', 'email', 'birth_date', 'city', + 'state', 'gender', 'type_profile', 'cpf', 'phone', 'image', 'titration', + 'year_titration', 'institution', 'curriculum', 'is_staff', 'is_active'] class UpdateUserForm(forms.ModelForm): -- libgit2 0.21.2