diff --git a/nsupdate/accounts/forms.py b/nsupdate/accounts/forms.py index f1803bf..1e5c031 100644 --- a/nsupdate/accounts/forms.py +++ b/nsupdate/accounts/forms.py @@ -7,4 +7,4 @@ from django.contrib.auth.models import User class UserProfileForm(forms.ModelForm): class Meta(object): model = User - fields = ['first_name', 'last_name', ] + fields = ['first_name', 'last_name', 'email'] diff --git a/nsupdate/accounts/templates/accounts/user_profile.html b/nsupdate/accounts/templates/accounts/user_profile.html index 774ab56..c65599e 100644 --- a/nsupdate/accounts/templates/accounts/user_profile.html +++ b/nsupdate/accounts/templates/accounts/user_profile.html @@ -2,8 +2,7 @@ {% load bootstrap %} {% block content %} -