Просмотр исходного кода

Corrected Permission.max_length in docs; refs #8162.

Sergey Fedoseev 10 лет назад
Родитель
Сommit
f1783ee479
1 измененных файлов с 5 добавлено и 1 удалено
  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