summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/auth.txt8
-rw-r--r--docs/releases/2.2.txt2
2 files changed, 8 insertions, 2 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 2f45dec574..5e40aa7fc2 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -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
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt
index a8bd9ab488..d00e2fe6f9 100644
--- a/docs/releases/2.2.txt
+++ b/docs/releases/2.2.txt
@@ -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: