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

add docs for page view restriction (#11917)

smark-1 11 месяцев назад
Родитель
Сommit
5c85c127e6
3 измененных файлов с 8 добавлено и 0 удалено
  1. 1 0
      CHANGELOG.txt
  2. 6 0
      docs/reference/pages/model_reference.md
  3. 1 0
      docs/releases/6.2.md

+ 1 - 0
CHANGELOG.txt

@@ -11,6 +11,7 @@ Changelog
  * Fix: Enable `richtext` template tag to convert lazy translation values (Benjamin Bach)
  * Fix: Ensure permission labels on group permissions page are translated where available (Matt Westcott)
  * Docs: Remove duplicate section on frontend caching proxies from performance page (Jake Howard)
+ * Docs: Document `restriction_type` field on PageViewRestriction (Shlomo Markowitz)
  * Maintenance: Use `DjangoJSONEncoder` instead of custom `LazyStringEncoder` to serialize Draftail config (Sage Abdullah)
 
 

+ 6 - 0
docs/reference/pages/model_reference.md

@@ -854,6 +854,12 @@ You can use the [`purge_revisions`](purge_revisions) command to delete old revis
     .. attribute:: password
 
         (text)
+
+    .. attribute:: restriction_type
+
+        (text)
+
+        Options: none, password, groups, login
 ```
 
 ## `Orderable` (abstract)

+ 1 - 0
docs/releases/6.2.md

@@ -28,6 +28,7 @@ depth: 1
 ### Documentation
 
  * Remove duplicate section on frontend caching proxies from performance page (Jake Howard)
+ * Document `restriction_type` field on PageViewRestriction (Shlomo Markowitz)
 
 
 ### Maintenance