mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	[1.6.x] Fixed #21710 -- Documented User.get_short_name()
Thanks Keryn Knight for the report.
Backport of 0150830687 from master
			
			
This commit is contained in:
		| @@ -128,6 +128,12 @@ Methods | |||||||
|         the :attr:`~django.contrib.auth.models.User.last_name`, with a space in |         the :attr:`~django.contrib.auth.models.User.last_name`, with a space in | ||||||
|         between. |         between. | ||||||
|  |  | ||||||
|  |     .. method:: get_short_name() | ||||||
|  |  | ||||||
|  |         .. versionadded:: 1.5 | ||||||
|  |  | ||||||
|  |         Returns the :attr:`~django.contrib.auth.models.User.first_name`. | ||||||
|  |  | ||||||
|     .. method:: set_password(raw_password) |     .. method:: set_password(raw_password) | ||||||
|  |  | ||||||
|         Sets the user's password to the given raw string, taking care of the |         Sets the user's password to the given raw string, taking care of the | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user