possibility to change user password
This commit is contained in:
parent
b6209ba76c
commit
808764bd2c
4 changed files with 18 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue