Skip to content

Commit

Permalink
Merge pull request #10 from agiliq/Chapter4module1
Browse files Browse the repository at this point in the history
variable set to False which was True
  • Loading branch information
shabda committed Feb 23, 2018
2 parents 02327dd + df97913 commit 62839a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/specific_users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ How to restrict Django admin to specific users?
================================================

Django admin allows access to users marked as :code:`is_staff=True`.
To disable a user from being able to access the admin, you should set :code:`is_staff=True`.
To disable a user from being able to access the admin, you should set :code:`is_staff=False`.

This holds true even if the user is a superuser. :code:`is_superuser=True`. If a non-staff tries to access the admin, they see a message like this.

Expand Down

0 comments on commit 62839a4

Please sign in to comment.