Move current user views to the user management app

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-17 02:25:57 -04:00
parent 97a9d21ac4
commit 54020a8813
17 changed files with 124 additions and 114 deletions

View File

@@ -5,6 +5,9 @@ from django.contrib.auth import get_user_model
class UserForm(forms.ModelForm):
"""
Form used to edit an user's mininal fields by the user himself
"""
class Meta:
fields = (
'username', 'first_name', 'last_name', 'email', 'is_active',