mirror of https://github.com/django/django.git
[1.5.x] Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
Thanks dpravdin and Jordan Messina.
Backport of 0375244eae
from master
This commit is contained in:
parent
d90abcc9da
commit
f6257a147d
|
@ -398,8 +398,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, and the name of the Django
|
This dotted pair describes the name of the Django app (which must be in your
|
||||||
model that you wish to use as your User model.
|
:setting:`INSTALLED_APPS`), and the name of the Django model that you wish to
|
||||||
|
use as your User model.
|
||||||
|
|
||||||
.. admonition:: Warning
|
.. admonition:: Warning
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue