diff options
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r-- | app/jrnl/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py index b9018bf..17909df 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -20,6 +20,7 @@ from bs4 import BeautifulSoup from photos.models import PhotoGallery, LuxImage from locations.models import Location +from sketches.models import Sketch from utils.widgets import parse_image, parse_video from utils.widgets import markdown_to_html @@ -84,6 +85,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) class Meta: ordering = ('-pub_date',) |