0.0.28 get filtered and ordered blocks

This commit is contained in:
SDE
2023-11-30 17:14:10 +03:00
parent 6635f93db8
commit bb2eaf54c4
9 changed files with 178 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
{#{% include 'blocks/b_how_with_us_working.html' %}#}
{% for block in page.blocks.all %}
{% for block in page.get_blocks %}
{% if block.block_type == 'photo150_n_title' %}
{% include 'blocks/b_photo150_n_title.html' %}
{% elif block.block_type == 'how_work' %}