Commit 936a7df6 authored by Tim Graham's avatar Tim Graham
Browse files

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

Backport of 5238af32 from master
parent 04002bfc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)