diff options
author | luxagraf <sng@luxagraf.net> | 2018-02-08 06:48:23 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-02-08 06:48:23 -0600 |
commit | c7fd4192c820371f35ab4e438b92c0945f431456 (patch) | |
tree | 2a6d00fed25ea9078ef69bc51b9aab2e6ad14a31 /app/jrnl/admin.py | |
parent | 58473dd4e0758894f15f834bddedd0caf11cfa59 (diff) |
added a manytomany for sketches in jrnl
Diffstat (limited to 'app/jrnl/admin.py')
-rw-r--r-- | app/jrnl/admin.py | 2 |
1 files changed, 2 insertions, 0 deletions
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', ), }), ) |