0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Used 'classmethod' annotation in docs/topics/auth/customizing.txt

This commit is contained in:
Tim Graham 2016-05-14 18:58:09 -04:00
parent 55c3133df8
commit 5238af3257

View File

@ -721,10 +721,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)