diff options
-rw-r--r-- | app/jrnl/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py index 2a92073..c009aea 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -82,7 +82,7 @@ class Entry(models.Model): ) template_name = models.IntegerField(choices=TEMPLATES, default=0) featured_image = models.ForeignKey(LuxImage, null=True, blank=True) - #has_video = models.BooleanField(blank=True, default=False) + has_video = models.BooleanField(blank=True, default=False) class Meta: ordering = ('-pub_date',) @@ -165,7 +165,7 @@ class Entry(models.Model): else: md = image_url_replace(self.body_markdown) self.body_html = markdown.markdown(md, extensions=['extra'], safe_mode=False) - self.has_video = parse_video(self.body_html) + self.has_video = False #parse_video(self.body_html) try: self.location = Location.objects.filter(geometry__contains=self.point).get() except Location.DoesNotExist: |