Commit 5238af32 authored by Tim Graham's avatar Tim Graham
Browse files

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

parent 55c3133d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)