Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.

This commit is contained in:
Mariusz Felisiak 2021-10-19 13:05:13 +02:00 committed by GitHub
parent 5896aa8367
commit fd881e8cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' 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
------------------------------------------------- -------------------------------------------------