Used 'classmethod' annotation in docs/topics/auth/customizing.txt
This commit is contained in:
parent
55c3133df8
commit
5238af3257
|
@ -721,10 +721,10 @@ utility methods:
|
|||
|
||||
.. class:: models.BaseUserManager
|
||||
|
||||
.. method:: models.BaseUserManager.normalize_email(email)
|
||||
.. classmethod:: models.BaseUserManager.normalize_email(email)
|
||||
|
||||
A ``classmethod`` that normalizes email addresses by lowercasing
|
||||
the domain portion of the email address.
|
||||
Normalizes email addresses by lowercasing the domain portion of the
|
||||
email address.
|
||||
|
||||
.. method:: models.BaseUserManager.get_by_natural_key(username)
|
||||
|
||||
|
|
Loading…
Reference in New Issue