Cache object list

master
Mark Veidemanis 1 year ago
parent 6579a86e44
commit b7b0f1e01c
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -1,11 +1,14 @@
{% include 'mixins/partials/notify.html' %}
{% if page_title is not None %}
{% load cache %}
{% cache 60 object_list %}
{% include 'mixins/partials/notify.html' %}
{% if page_title is not None %}
<h1 class="title is-4">{{ page_title }}</h1>
{% endif %}
{% if page_subtitle is not None %}
{% endif %}
{% if page_subtitle is not None %}
<h1 class="subtitle">{{ page_subtitle }}</h1>
{% endif %}
<div class="buttons">
{% endif %}
<div class="buttons">
{% if submit_url is not None %}
<button
@ -39,7 +42,8 @@
</span>
</button>
{% endif %}
</div>
</div>
{% include list_template %}
{% include list_template %}
{% endcache %}
Loading…
Cancel
Save