user can be added to group and team from user page

This commit is contained in:
Élie Bouttier 2014-08-30 18:56:02 -07:00
parent 30d8b7bd85
commit f0c6691df2
10 changed files with 298 additions and 55 deletions

View file

@ -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'])