1
0
mirror of https://github.com/django/django.git synced 2025-07-19 17:19:12 +00:00

[1.9.x] Used 'classmethod' annotation in docs/topics/auth/customizing.txt

Backport of 5238af325729c4a3068f7e8e18edc9928972fab3 from master
This commit is contained in:
Tim Graham 2016-05-14 18:58:09 -04:00
parent 04002bfc2f
commit 936a7df652

View File

@ -708,10 +708,10 @@ utility methods:
.. class:: models.BaseUserManager .. class:: models.BaseUserManager
.. method:: models.BaseUserManager.normalize_email(email) .. classmethod:: models.BaseUserManager.normalize_email(email)
A ``classmethod`` that normalizes email addresses by lowercasing Normalizes email addresses by lowercasing the domain portion of the
the domain portion of the email address. email address.
.. method:: models.BaseUserManager.get_by_natural_key(username) .. method:: models.BaseUserManager.get_by_natural_key(username)