Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19868 -- Clarified purpose of custom user example

  • Loading branch information...
commit 649118961ce3952138536235fc842921e39bfa33 1 parent 50677b2
Preston Holmes ptone authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/topics/auth/customizing.txt
4 docs/topics/auth/customizing.txt
View
@@ -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::
Please sign in to comment.
Something went wrong with that request. Please try again.