summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-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