Fixed #31371 -- Increased User.first_name max_length to 150 characters.

This commit is contained in:
Ryan Petrello 2020-03-17 08:12:32 -04:00 committed by Mariusz Felisiak
parent 9f07f27124
commit 5f8495a40a
5 changed files with 51 additions and 2 deletions

View file

@ -42,9 +42,13 @@ Fields
.. attribute:: first_name
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 30
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 150
characters or fewer.
.. versionchanged:: 3.1
The ``max_length`` increased from 30 to 150 characters.
.. attribute:: last_name
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 150