summaryrefslogtreecommitdiff
path: root/app/pages/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/pages/admin.py')
-rw-r--r--app/pages/admin.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/pages/admin.py b/app/pages/admin.py
index b7c8962..bd37223 100644
--- a/app/pages/admin.py
+++ b/app/pages/admin.py
@@ -25,7 +25,7 @@ class PageAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ('title',)}
fieldsets = (
('Page', {
- 'fields': ('title', 'sub_title', 'body_markdown', ('build', 'enable_comments'), ('site','slug', 'path', 'app')),
+ 'fields': ('title', 'sub_title', 'body_markdown', ('build', 'enable_comments'), ('site','slug', 'path', 'app'), 'featured_image'),
'classes': ('show', 'extrapretty', 'wide')
}),
('Metadata', {
@@ -34,6 +34,14 @@ class PageAdmin(admin.ModelAdmin):
})
)
+ class Media:
+ js = ('image-loader.js', 'product-loader.js', 'next-prev-links.js')
+ css = {
+ "all": ("my_styles.css",)
+ }
+
+
+
@admin.register(HomePage)
class HomePageAdmin(admin.ModelAdmin):