mirror of
https://github.com/django/django.git
synced 2025-07-19 00:59:17 +00:00
[1.9.x] Used 'classmethod' annotation in docs/topics/auth/customizing.txt
Backport of 5238af325729c4a3068f7e8e18edc9928972fab3 from master
This commit is contained in:
parent
04002bfc2f
commit
936a7df652
@ -708,10 +708,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…
x
Reference in New Issue
Block a user