From 08221d1b5c1eec782c792818a2aa4a74ca7f1fcb Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 19 Jun 2014 23:48:29 -0700 Subject: Fixed #22874: Document that AUTH_USER_MODEL must be in first migration --- docs/ref/settings.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 382449e22e..5b51e45cc9 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -2377,7 +2377,9 @@ The model to use to represent a User. See :ref:`auth-custom-user`. .. warning:: You cannot change the AUTH_USER_MODEL setting during the lifetime of a project (i.e. once you have made and migrated models that depend on it) - without serious effort. It is intended to be set at the project start. + without serious effort. It is intended to be set at the project start, + and the model it refers to must be available in the first migration of + the app that it lives in. See :ref:`auth-custom-user` for more details. .. setting:: LOGIN_REDIRECT_URL -- cgit v1.3