Explorar o código

Corrected Permission.max_length in docs; refs #8162.

Sergey Fedoseev %!s(int64=10) %!d(string=hai) anos
pai
achega
f1783ee479
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      docs/ref/contrib/auth.txt

+ 5 - 1
docs/ref/contrib/auth.txt

@@ -313,7 +313,11 @@ fields:
 
     .. attribute:: name
 
-        Required. 50 characters or fewer. Example: ``'Can vote'``.
+        Required. 255 characters or fewer. Example: ``'Can vote'``.
+
+        .. versionchanged:: 1.8
+
+            The ``max_length`` increased from 50 to 255 characters.
 
     .. attribute:: content_type