summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJan Pieter Waagmeester <jieter@jieter.nl>2020-12-11 23:12:43 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-12-11 23:14:12 +0100
commit50f436bb8a0ef419a43c210180faee0d27b0cc3e (patch)
tree0238701d85531de3c088826fa5269ca7158db2ec /docs
parenta891e1bb0a3e1b29a461784cd0bf717513e72f19 (diff)
[3.1.x] Corrected docs regarding attributes required for logging in to the admin.
Regression in 939dcff24f8e97d114595b102fb12348da482135. Backport of 991dce4fc5b656e04af08a595181bd576f2bd857 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index de721d231b..5723865ca3 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -59,8 +59,7 @@ visiting the URL you hooked it into (``/admin/``, by default).
If you need to create a user to login with, use the :djadmin:`createsuperuser`
command. By default, logging in to the admin requires that the user has the
-:attr:`~.User.is_superuser` or :attr:`~.User.is_staff` attribute set to
-``True``.
+:attr:`~.User.is_staff` attribute set to ``True``.
Finally, determine which of your application's models should be editable in the
admin interface. For each of those models, register them with the admin as