[4.0.x] Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.

Backport of fd881e8cd9 from main
This commit is contained in:
Mariusz Felisiak 2021-10-19 13:05:13 +02:00
parent 6aa917383f
commit ea66d1f2ae
1 changed files with 3 additions and 3 deletions

View File

@ -382,9 +382,9 @@ the :setting:`AUTH_USER_MODEL` setting that references a custom model::
AUTH_USER_MODEL = 'myapp.MyUser'
This dotted pair describes the name of the Django app (which must be in your
:setting:`INSTALLED_APPS`), and the name of the Django model that you wish to
use as your user model.
This dotted pair describes the :attr:`~django.apps.AppConfig.label` of the
Django app (which must be in your :setting:`INSTALLED_APPS`), and the name of
the Django model that you wish to use as your user model.
Using a custom user model when starting a project
-------------------------------------------------