add option to restrict todo to staff
This commit is contained in:
parent
1e40919aee
commit
6284dad786
2 changed files with 26 additions and 15 deletions
4
todo/settings.py
Normal file
4
todo/settings.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from django.core.exceptions import ImproperlyConfigured
|
||||
from django.conf import settings
|
||||
|
||||
STAFF_ONLY = getattr(settings, 'TODO_STAFF_ONLY', False)
|
Loading…
Add table
Add a link
Reference in a new issue