Add comment

This commit is contained in:
Scot Hacker 2019-01-10 00:54:14 -08:00
parent 91b9a099a3
commit 513ef59d4a

View file

@ -16,7 +16,7 @@ def add_list(request) -> HttpResponse:
"""Allow users to add a new todo list to the group they're in. """Allow users to add a new todo list to the group they're in.
""" """
# Only staffers can add lists. # Only staffers can add lists, regardless of TODO_STAFF_USER setting.
if not request.user.is_staff: if not request.user.is_staff:
raise PermissionDenied raise PermissionDenied