1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

Fixed #21710 -- Documented User.get_short_name()

Thanks Keryn Knight for the report.
This commit is contained in:
Tim Graham 2013-12-30 17:42:11 -05:00
parent 1c242a297b
commit 0150830687

View File

@ -128,6 +128,10 @@ Methods
the :attr:`~django.contrib.auth.models.User.last_name`, with a space in
between.
.. method:: get_short_name()
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