From 865840fb8a3f787d2aa0ea19f061b74f11cc3ad7 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Mon, 24 Apr 2017 18:13:35 +0200 Subject: [PATCH] Fix migrations and article_content tag --- publichealth/home/migrations/0015_dataletssettings.py | 3 ++- publichealth/home/templates/home/article_content.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/publichealth/home/migrations/0015_dataletssettings.py b/publichealth/home/migrations/0015_dataletssettings.py index 9a5787a..ec85202 100644 --- a/publichealth/home/migrations/0015_dataletssettings.py +++ b/publichealth/home/migrations/0015_dataletssettings.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Generated by Django 1.10.7 on 2017-04-21 13:13 +# Generated by Django 1.10.7 on 2017-04-24 16:11 from __future__ import unicode_literals from django.db import migrations, models @@ -9,6 +9,7 @@ import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ + ('wagtailcore', '0033_auto_20170424_1809'), ('home', '0014_auto_20170421_1426'), ] diff --git a/publichealth/home/templates/home/article_content.html b/publichealth/home/templates/home/article_content.html index 36626d7..3e410ce 100644 --- a/publichealth/home/templates/home/article_content.html +++ b/publichealth/home/templates/home/article_content.html @@ -1,3 +1,5 @@ +{% load wagtailcore_tags wagtailimages_tags %} + {% if page.feed_image %}
{% image page.feed_image fill-940x400 class="img-responsive" %}