user can be added to group and team from user page
This commit is contained in:
parent
30d8b7bd85
commit
f0c6691df2
10 changed files with 298 additions and 55 deletions
|
@ -9,7 +9,7 @@ __all__ = ['UserForm', 'GroupForm', 'TeamForm']
|
|||
|
||||
UserForm = modelform_factory(User,
|
||||
fields=['username', 'first_name',
|
||||
'last_name', 'password', 'email', 'is_superuser'],
|
||||
'last_name', 'email', 'is_superuser'],
|
||||
widgets={'password': PasswordInput})
|
||||
GroupForm = modelform_factory(Group,
|
||||
fields=['name'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue