Selaa lähdekoodia

Enable scheduled publishing feature for Person snippet

Sage Abdullah 2 vuotta sitten
vanhempi
commit
7aa02ef310
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 = [