possibility to change user password

This commit is contained in:
Élie Bouttier 2014-08-30 19:53:59 -07:00
parent b6209ba76c
commit 808764bd2c
4 changed files with 18 additions and 2 deletions

View file

@ -9,8 +9,7 @@ __all__ = ['UserForm', 'GroupForm', 'TeamForm']
UserForm = modelform_factory(User,
fields=['username', 'first_name',
'last_name', 'email', 'is_superuser'],
widgets={'password': PasswordInput})
'last_name', 'email', 'is_superuser'])
GroupForm = modelform_factory(Group,
fields=['name'])
TeamForm = modelform_factory(Team,