Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.
This commit is contained in:
parent
5896aa8367
commit
fd881e8cd9
|
@ -382,9 +382,9 @@ the :setting:`AUTH_USER_MODEL` setting that references a custom model::
|
||||||
|
|
||||||
AUTH_USER_MODEL = 'myapp.MyUser'
|
AUTH_USER_MODEL = 'myapp.MyUser'
|
||||||
|
|
||||||
This dotted pair describes the name of the Django app (which must be in your
|
This dotted pair describes the :attr:`~django.apps.AppConfig.label` of the
|
||||||
:setting:`INSTALLED_APPS`), and the name of the Django model that you wish to
|
Django app (which must be in your :setting:`INSTALLED_APPS`), and the name of
|
||||||
use as your user model.
|
the Django model that you wish to use as your user model.
|
||||||
|
|
||||||
Using a custom user model when starting a project
|
Using a custom user model when starting a project
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue