From 0150830687188681ba7e4ae9b6da1a832a6d5141 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 30 Dec 2013 17:42:11 -0500 Subject: [PATCH] Fixed #21710 -- Documented User.get_short_name() Thanks Keryn Knight for the report. --- docs/ref/contrib/auth.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 154c0ab75b..ac78da1ece 100644 --- a/docs/ref/contrib/auth.txt +++ b/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