app users

Modify user list view
Modify user add view
This commit is contained in:
广宏伟
2016-08-15 21:10:30 +08:00
parent 86ffcc973c
commit e3223f745a
6 changed files with 65 additions and 38 deletions

View File

@@ -10,6 +10,6 @@ class UserForm(ModelForm):
model = User
fields = [
'username', 'name', 'email', 'groups', 'wechat',
'phone', 'enable_2FA', 'role', 'comment',
'phone', 'enable_2FA', 'role', 'date_expired', 'comment',
]