diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-10-19 13:05:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-19 13:05:13 +0200 |
| commit | fd881e8cd9b7686ab8fcd32332100710a8ffaa10 (patch) | |
| tree | 1bd64a441d5bfb32d8274d373f48f803cc4a1fcd /docs | |
| parent | 5896aa8367d545c60bb544c31d7ecaaecc321045 (diff) | |
Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.
Diffstat (limited to 'docs')
| -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 006b955274..50d5809e50 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 ------------------------------------------------- |
