Allow current to edit more details of himself, saner redirection after password change

This commit is contained in:
Roberto Rosario
2012-01-26 22:42:36 -04:00
parent d79e86ae30
commit 30351225f6
4 changed files with 27 additions and 11 deletions

View File

@@ -122,7 +122,7 @@ class UserForm(forms.ModelForm):
"""
class Meta:
model = User
fields = ('first_name', 'last_name')
fields = ('username', 'first_name', 'last_name', 'email')
class EmailAuthenticationForm(AuthenticationForm):