diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-10-19 13:05:13 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-10-19 13:05:42 +0200 |
| commit | ea66d1f2ae0053ddbb0c9e0f725dd78cbf70a249 (patch) | |
| tree | f6e4cb2fb6db5ac3e07822e6de55939d7033fcda | |
| parent | 6aa917383faaa80e70c6a8a8bc0f52f088434a84 (diff) | |
[4.0.x] Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.
Backport of fd881e8cd9b7686ab8fcd32332100710a8ffaa10 from main
| -rw-r--r-- | docs/topics/auth/customizing.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 3c73783b24..44734c1a92 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -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 ------------------------------------------------- |
