Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #21710 -- Documented User.get_short_name()

Thanks Keryn Knight for the report.
  • Loading branch information...
commit 0150830687188681ba7e4ae9b6da1a832a6d5141 1 parent 1c242a2
@timgraham timgraham authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/ref/contrib/auth.txt
View
4 docs/ref/contrib/auth.txt
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.