Fix additional images in ContentBlock models
This commit is contained in:
parent
c52c3e1924
commit
3ff8cd6166
|
@ -1,8 +1,8 @@
|
||||||
# Generated by Django 4.0.6 on 2022-07-13 13:55
|
# Generated by Django 4.0.6 on 2022-07-13 13:55
|
||||||
|
|
||||||
|
import django.db.models.deletion
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
import django.db.models.deletion
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
|
@ -41,14 +41,14 @@
|
||||||
{% if block.image2 is not None %}
|
{% if block.image2 is not None %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
{{ block.image2 }}
|
<img src="{% static block.image2 %}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if block.image3 is not None %}
|
{% if block.image3 is not None %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
{{ block.image3 }}
|
<img src="{% static block.image3 %}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue