Cache object list

This commit is contained in:
Mark Veidemanis 2023-02-11 14:10:18 +00:00
parent 6579a86e44
commit b7b0f1e01c
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 44 additions and 40 deletions

View File

@ -1,3 +1,6 @@
{% load cache %}
{% cache 60 object_list %}
{% include 'mixins/partials/notify.html' %} {% include 'mixins/partials/notify.html' %}
{% if page_title is not None %} {% if page_title is not None %}
<h1 class="title is-4">{{ page_title }}</h1> <h1 class="title is-4">{{ page_title }}</h1>
@ -43,3 +46,4 @@
{% include list_template %} {% include list_template %}
{% endcache %}