summaryrefslogtreecommitdiff
path: root/app/jrnl/admin.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-02-08 06:48:23 -0600
committerluxagraf <sng@luxagraf.net>2018-02-08 06:48:23 -0600
commitc7fd4192c820371f35ab4e438b92c0945f431456 (patch)
tree2a6d00fed25ea9078ef69bc51b9aab2e6ad14a31 /app/jrnl/admin.py
parent58473dd4e0758894f15f834bddedd0caf11cfa59 (diff)
added a manytomany for sketches in jrnl
Diffstat (limited to 'app/jrnl/admin.py')
-rw-r--r--app/jrnl/admin.py2
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',
),
}),
)