diff options
| author | Tim Graham <timograham@gmail.com> | 2013-12-30 17:42:11 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-12-30 17:46:56 -0500 |
| commit | 3cf9ba5fa31083b17c7363e512d365bac0f57c24 (patch) | |
| tree | 2ebb8f3984c7644bd6ee65ea91d5f2397df9a910 /docs/ref | |
| parent | 66ada281d5842da82f1fdc813b941ebb04dec6e3 (diff) | |
[1.5.x] Fixed #21710 -- Documented User.get_short_name()
Thanks Keryn Knight for the report.
Backport of 0150830687 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 838784c952..e2e3d0c5e0 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 |
