diff options
Diffstat (limited to 'app/jrnl')
-rw-r--r-- | app/jrnl/admin.py | 3 | ||||
-rw-r--r-- | app/jrnl/models.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/app/jrnl/admin.py b/app/jrnl/admin.py index 74dd593..3c35272 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', 'field_notes_two', 'books') + filter_horizontal = ('field_notes', 'books') fieldsets = ( ('Entry', { 'fields': ( @@ -62,7 +62,6 @@ class EntryAdmin(OSMGeoAdmin): ('Extra', { 'fields': ( 'field_notes', - 'field_notes_two', 'books', ), 'classes': ( diff --git a/app/jrnl/models.py b/app/jrnl/models.py index dc2b3dc..c3aace3 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -66,8 +66,7 @@ class Entry(models.Model): template_name = models.IntegerField(choices=TEMPLATES, default=0) featured_image = models.ForeignKey(LuxImage, on_delete=models.CASCADE, null=True, blank=True) has_video = models.BooleanField(blank=True, default=False) - field_notes = models.ManyToManyField(Sketch, blank=True) - field_notes_two = models.ManyToManyField(FieldNote, blank=True) + field_notes = models.ManyToManyField(FieldNote, blank=True) books = models.ManyToManyField(Book, blank=True) class Meta: |