Formatting
This commit is contained in:
parent
4a385bde6b
commit
befc7ad2cd
28 changed files with 253 additions and 311 deletions
|
@ -20,7 +20,7 @@ def staff_check(user):
|
|||
https://github.com/shacker/django-todo/issues/50
|
||||
"""
|
||||
|
||||
if defaults('TODO_STAFF_ONLY'):
|
||||
if defaults("TODO_STAFF_ONLY"):
|
||||
return user.is_staff
|
||||
else:
|
||||
# If unset or False, allow all logged in users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue