Browse Source

Remove body from content_panels on LocationPage

Scot Hacker 8 years ago
parent
commit
bb774cd119
1 changed files with 4 additions and 1 deletions
  1. 4 1
      bakerydemo/locations/models.py

+ 4 - 1
bakerydemo/locations/models.py

@@ -121,7 +121,10 @@ class LocationPage(BasePageFieldsMixin, Page):
     ]
 
     # Editor panels configuration
-    content_panels = BasePageFieldsMixin.content_panels + [
+    content_panels = [
+        FieldPanel('title', classname="full"),
+        FieldPanel('introduction', classname="full"),
+        ImageChooserPanel('image'),
         FieldPanel('address', classname="full"),
         FieldPanel('lat_long'),
         InlinePanel('hours_of_operation', label="Hours of Operation"),