Skip to content

Commit

Permalink
[1.5.x] Fixed #19868 -- Clarified purpose of custom user example
Browse files Browse the repository at this point in the history
  • Loading branch information
ptone committed Feb 20, 2013
1 parent 96790fc commit b17a572
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/topics/auth/customizing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,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::
Expand Down

0 comments on commit b17a572

Please sign in to comment.