소스 검색

Enable scheduled publishing feature for Person snippet

Sage Abdullah 2 년 전
부모
커밋
7aa02ef310
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      bakerydemo/base/models.py

+ 1 - 0
bakerydemo/base/models.py

@@ -66,6 +66,7 @@ class Person(DraftStateMixin, RevisionMixin, index.Indexed, ClusterableModel):
         ),
         FieldPanel("job_title"),
         FieldPanel("image"),
+        PublishingPanel(),
     ]
 
     search_fields = [