From c7fd4192c820371f35ab4e438b92c0945f431456 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 8 Feb 2018 06:48:23 -0600 Subject: added a manytomany for sketches in jrnl --- app/jrnl/admin.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/jrnl/admin.py') diff --git a/app/jrnl/admin.py b/app/jrnl/admin.py index 5fcdc89..7d94b47 100644 --- a/app/jrnl/admin.py +++ b/app/jrnl/admin.py @@ -24,6 +24,7 @@ class EntryAdmin(OSMGeoAdmin): search_fields = ['title', 'body_markdown'] prepopulated_fields = {"slug": ('title',)} list_filter = ('pub_date', 'enable_comments', 'status', 'location__state__country__lux_region') + filter_horizontal = ('field_notes',) fieldsets = ( ('Entry', { 'fields': ( @@ -48,6 +49,7 @@ class EntryAdmin(OSMGeoAdmin): ('image', 'thumbnail'), 'template_name', 'enable_comments', + 'field_notes', ), }), ) -- cgit v1.2.3-70-g09d2