users can disable notifications
This commit is contained in:
parent
4a61d463bd
commit
f420dd98ac
9 changed files with 82 additions and 22 deletions
|
@ -7,7 +7,7 @@ from accounts.models import *
|
|||
__all__ = ['UserForm', 'UserFormWithoutUsername', 'ProfileForm', 'GroupForm', 'TeamForm']
|
||||
|
||||
|
||||
user_fields=['first_name', 'last_name', 'email']
|
||||
user_fields=['first_name', 'last_name', 'email', 'notifications']
|
||||
|
||||
UserForm = modelform_factory(User,
|
||||
fields=['username']+user_fields+['is_superuser'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue