pep8
This commit is contained in:
parent
0ecf6d3dc9
commit
92ea48f89d
12 changed files with 55 additions and 47 deletions
|
@ -4,12 +4,12 @@ from django.forms.widgets import PasswordInput
|
|||
from accounts.models import *
|
||||
|
||||
|
||||
__all__ = [ 'UserForm', 'GroupForm', 'TeamForm' ]
|
||||
__all__ = ['UserForm', 'GroupForm', 'TeamForm']
|
||||
|
||||
|
||||
UserForm = modelform_factory(User,
|
||||
fields=['username', 'first_name', 'last_name',
|
||||
'password', 'email', 'is_superuser'],
|
||||
fields=['username', 'first_name',
|
||||
'last_name', 'password', 'email', 'is_superuser'],
|
||||
widgets={'password': PasswordInput})
|
||||
GroupForm = modelform_factory(Group,
|
||||
fields=['name'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue