diff options
| author | Jan Pieter Waagmeester <jieter@jieter.nl> | 2020-12-11 23:12:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-11 23:12:43 +0100 |
| commit | 991dce4fc5b656e04af08a595181bd576f2bd857 (patch) | |
| tree | c85c1a5af90f8a3e8c6cd715c8cea4f71007cce3 /docs/ref | |
| parent | 1e7653117f273391705b10c78214e27703e484b8 (diff) | |
Corrected docs regarding attributes required for logging in to the admin.
Regression in 939dcff24f8e97d114595b102fb12348da482135.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 3 |
1 files changed, 1 insertions, 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 |
