From 991dce4fc5b656e04af08a595181bd576f2bd857 Mon Sep 17 00:00:00 2001 From: Jan Pieter Waagmeester Date: Fri, 11 Dec 2020 23:12:43 +0100 Subject: [PATCH] Corrected docs regarding attributes required for logging in to the admin. Regression in 939dcff24f8e97d114595b102fb12348da482135. --- docs/ref/contrib/admin/index.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 6d74bdcb8c..28857e3f25 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