Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.6.x] Fixed #20134 -- Correct list of fields that UserManager requi…

…res.

Thanks semenov and pegler.

Backport of da5069f from master.
  • Loading branch information...
commit 541a30c3768fa86ecb85ceea8545af175bada4fb 1 parent 23748c4
Tim Graham authored July 04, 2013

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  docs/topics/auth/customizing.txt
5  docs/topics/auth/customizing.txt
@@ -623,8 +623,9 @@ The following methods are available on any subclass of
623 623
         been called for this user.
624 624
 
625 625
 You should also define a custom manager for your ``User`` model. If your
626  
-``User`` model defines ``username`` and ``email`` fields the same as Django's
627  
-default ``User``, you can just install Django's
  626
+``User`` model defines ``username``, ``email``, ``is_staff``, ``is_active``,
  627
+``is_superuser``, ``last_login``, and ``date_joined`` fields the same as
  628
+Django's default ``User``, you can just install Django's
628 629
 :class:`~django.contrib.auth.models.UserManager`; however, if your ``User``
629 630
 model defines different fields, you will need to define a custom manager that
630 631
 extends :class:`~django.contrib.auth.models.BaseUserManager` providing two

0 notes on commit 541a30c

Please sign in to comment.
Something went wrong with that request. Please try again.