Explorar o código

Enable scheduled publishing feature for Person snippet

Sage Abdullah %!s(int64=2) %!d(string=hai) anos
pai
achega
7aa02ef310
Modificáronse 1 ficheiros con 1 adicións e 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 = [