diff options
author | luxagraf <sng@luxagraf.net> | 2019-03-03 15:13:38 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-03-03 15:13:38 -0600 |
commit | 67556f93a23ee952b8a0c3e4427cdf278cd23431 (patch) | |
tree | c68dd35e3b6b219851a0ae4054c3835e53c6b60d /app/jrnl | |
parent | cfeeda7adec97d618ad1fc01926b1fa88298fc85 (diff) |
added new fieldnotes to Jrnl admin
Diffstat (limited to 'app/jrnl')
-rw-r--r-- | app/jrnl/admin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/jrnl/admin.py b/app/jrnl/admin.py index 3c35272..74dd593 100644 --- a/app/jrnl/admin.py +++ b/app/jrnl/admin.py @@ -32,7 +32,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', 'books') + filter_horizontal = ('field_notes', 'field_notes_two', 'books') fieldsets = ( ('Entry', { 'fields': ( @@ -62,6 +62,7 @@ class EntryAdmin(OSMGeoAdmin): ('Extra', { 'fields': ( 'field_notes', + 'field_notes_two', 'books', ), 'classes': ( |