Fix additional images in ContentBlock models

This commit is contained in:
Mark Veidemanis 2022-07-21 13:50:30 +01:00
parent c52c3e1924
commit 3ff8cd6166
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
# Generated by Django 4.0.6 on 2022-07-13 13:55
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):

View File

@ -41,14 +41,14 @@
{% if block.image2 is not None %}
<div class="column">
<div class="box">
{{ block.image2 }}
<img src="{% static block.image2 %}">
</div>
</div>
{% endif %}
{% if block.image3 is not None %}
<div class="column">
<div class="box">
{{ block.image3 }}
<img src="{% static block.image3 %}">
</div>
</div>
{% endif %}