update general user permissions
This commit is contained in:
parent
5091061ade
commit
75381c47e9
6 changed files with 95 additions and 3 deletions
9
src/c3nav/control/forms.py
Normal file
9
src/c3nav/control/forms.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from django.forms import ModelForm
|
||||
|
||||
from c3nav.control.models import UserPermissions
|
||||
|
||||
|
||||
class UserPermissionsForm(ModelForm):
|
||||
class Meta:
|
||||
model = UserPermissions
|
||||
exclude = ('user', )
|
Loading…
Add table
Add a link
Reference in a new issue