Skip to content
Browse files

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

Thanks Keryn Knight for the report.

Backport of 0150830 from master
  • Loading branch information...
1 parent 66ada28 commit 3cf9ba5fa31083b17c7363e512d365bac0f57c24 @timgraham timgraham committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/ref/contrib/auth.txt
View
6 docs/ref/contrib/auth.txt
@@ -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

0 comments on commit 3cf9ba5

Please sign in to comment.
Something went wrong with that request. Please try again.