username not editable (possible in django admin)
This commit is contained in:
parent
dbd8aa83be
commit
0a245a1e78
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,7 @@ __all__ = ['UserForm', 'GroupForm', 'TeamForm']
|
|||
|
||||
|
||||
UserForm = modelform_factory(User,
|
||||
fields=['username', 'first_name',
|
||||
'last_name', 'email', 'is_superuser'])
|
||||
fields=['first_name', '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