Sfoglia il codice sorgente

Enable scheduled publishing feature for Person snippet

Sage Abdullah 2 anni fa
parent
commit
7aa02ef310
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 = [