Explorar el Código

Enable scheduled publishing feature for Person snippet

Sage Abdullah hace 2 años
padre
commit
7aa02ef310
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 = [