Commit 3cf9ba5f authored by Tim Graham's avatar Tim Graham
Browse files

[1.5.x] Fixed #21710 -- Documented User.get_short_name()

Thanks Keryn Knight for the report.

Backport of 01508306 from master
parent 66ada281
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -128,6 +128,12 @@ Methods
        the :attr:`~django.contrib.auth.models.User.last_name`, with a space in
        between.

    .. method:: get_short_name()

        .. versionadded:: 1.5

        Returns the :attr:`~django.contrib.auth.models.User.first_name`.

    .. method:: set_password(raw_password)

        Sets the user's password to the given raw string, taking care of the