diff options
Diffstat (limited to 'app/posts/admin.py')
-rw-r--r-- | app/posts/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/posts/admin.py b/app/posts/admin.py index b2961cc..2143086 100644 --- a/app/posts/admin.py +++ b/app/posts/admin.py @@ -35,10 +35,10 @@ class PostAdmin(OSMGeoAdmin): field = super(PostAdmin, self).formfield_for_dbfield(db_field, **kwargs) return field - list_display = ('title', 'post_type', 'pub_date', 'template_name', 'status',) + list_display = ('title', 'site', 'post_type', 'pub_date', 'template_name', 'status',) search_fields = ['title', 'body_markdown'] prepopulated_fields = {"slug": ('title',)} - list_filter = ('post_type', 'pub_date', 'enable_comments', 'status') + list_filter = ('site', 'post_type', 'pub_date', 'enable_comments', 'status') filter_horizontal = ('related', 'books', 'field_notes') fieldsets = ( ('Entry', { |