summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPreston Holmes <preston@ptone.com>2013-02-20 15:32:35 -0800
committerPreston Holmes <preston@ptone.com>2013-02-20 15:32:35 -0800
commit649118961ce3952138536235fc842921e39bfa33 (patch)
treea09689602b875d86319fb00cf5c04f39ac101551 /docs
parent50677b29af39ca670274fb45087415c883c78b04 (diff)
Fixed #19868 -- Clarified purpose of custom user example
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/customizing.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index 2e7bf2e3db..c5d9e4ff7b 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -904,7 +904,9 @@ Here is an example of an admin-compliant custom user app. This user model uses
an email address as the username, and has a required date of birth; it
provides no permission checking, beyond a simple `admin` flag on the user
account. This model would be compatible with all the built-in auth forms and
-views, except for the User creation forms.
+views, except for the User creation forms. This example illustrates how most of
+the components work together, but is not intended to be copied directly into
+projects for production use.
This code would all live in a ``models.py`` file for a custom
authentication app::