summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-12-30 17:42:11 -0500
committerTim Graham <timograham@gmail.com>2013-12-30 17:46:16 -0500
commit51d6a7d53e956ee0b32bb45e33d09b07d796429e (patch)
tree8346e9375297b4a06ffc1938b6cd6c4337a19a72
parented167e53a52af22a8dce229696184b0d87a88a78 (diff)
[1.6.x] Fixed #21710 -- Documented User.get_short_name()
Thanks Keryn Knight for the report. Backport of 0150830687 from master
-rw-r--r--docs/ref/contrib/auth.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 2fd5b0794f..796517969e 100644
--- a/docs/ref/contrib/auth.txt
+++ b/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