mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #29939 -- Increased Group.name max_length to 150 characters.
This commit is contained in:
committed by
Tim Graham
parent
6d4e5feb79
commit
e819554018
@@ -382,8 +382,12 @@ Fields
|
||||
|
||||
.. attribute:: name
|
||||
|
||||
Required. 80 characters or fewer. Any characters are permitted. Example:
|
||||
``'Awesome Users'``.
|
||||
Required. 150 characters or fewer. Any characters are permitted.
|
||||
Example: ``'Awesome Users'``.
|
||||
|
||||
.. versionchanged:: 2.2
|
||||
|
||||
The ``max_length`` increased from 80 to 150 characters.
|
||||
|
||||
.. attribute:: permissions
|
||||
|
||||
|
||||
@@ -384,6 +384,8 @@ Miscellaneous
|
||||
renders ``<option>`` values of ``unknown``, ``true``, and ``false`` instead
|
||||
of ``1``, ``2``, and ``3``. For backwards compatibility, the old values are
|
||||
still accepted as data.
|
||||
* :attr:`Group.name <django.contrib.auth.models.Group.name>` ``max_length``
|
||||
is increased from 80 to 150 characters.
|
||||
|
||||
.. _deprecated-features-2.2:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user