summaryrefslogtreecommitdiff
path: root/app/posts/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/admin.py')
-rw-r--r--app/posts/admin.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/posts/admin.py b/app/posts/admin.py
index cac3954..27ec145 100644
--- a/app/posts/admin.py
+++ b/app/posts/admin.py
@@ -33,10 +33,10 @@ class PostAdmin(OSMGeoAdmin):
field = super(PostAdmin, self).formfield_for_dbfield(db_field, **kwargs)
return field
- list_display = ('title', 'site', 'post_type', 'pub_date', 'template_name', 'status',)
+ list_display = ('title', 'post_type', 'pub_date', 'status',)
search_fields = ['title', 'body_markdown']
prepopulated_fields = {"slug": ('title',)}
- list_filter = ('site', 'post_type', 'pub_date', 'enable_comments', 'status')
+ list_filter = ('post_type', 'pub_date', 'enable_comments', 'status')
filter_horizontal = ('related', 'books',)
fieldsets = (
('Entry', {
@@ -47,10 +47,8 @@ class PostAdmin(OSMGeoAdmin):
('pub_date', 'status', 'post_type'),
('slug', 'enable_comments',),
'dek',
- 'meta_description',
- 'template_name',
- ('featured_image','related'),
- 'site'
+ 'meta_description', 'issue',
+ ('featured_image', 'featured_audio', 'related'),
),
'classes': (
'show',