浏览代码

add docs for page view restriction (#11917)

smark-1 11 月之前
父节点
当前提交
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