Fixed #20846 -- Increased User.username max_length to 254 characters.

Thanks Collin Anderson and Nick Sandford for work on the patch.
This commit is contained in:
Tim Graham 2015-10-28 15:59:17 -04:00
parent 0bd067d095
commit 15ef1dd478
4 changed files with 69 additions and 3 deletions

View file

@ -21,9 +21,13 @@ Fields
.. attribute:: username
Required. 30 characters or fewer. Usernames may contain alphanumeric,
Required. 254 characters or fewer. Usernames may contain alphanumeric,
``_``, ``@``, ``+``, ``.`` and ``-`` characters.
.. versionchanged:: 1.10
The ``max_length`` increased from 30 to 254 characters.
.. attribute:: first_name
Optional. 30 characters or fewer.