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
|
||||
|
||||
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):
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue