Remove caching from common object templates
This commit is contained in:
parent
502556e7c3
commit
3d7c3504aa
|
@ -1,7 +1,3 @@
|
||||||
{% load cache %}
|
|
||||||
|
|
||||||
{% cache 600 object request.user.id object %}
|
|
||||||
|
|
||||||
{% 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>
|
||||||
|
@ -46,5 +42,3 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include detail_template %}
|
{% include detail_template %}
|
||||||
|
|
||||||
{% endcache %}
|
|
|
@ -1,6 +1,3 @@
|
||||||
{% load cache %}
|
|
||||||
|
|
||||||
{% cache 600 objects request.user.id 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>
|
||||||
|
@ -45,5 +42,3 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include list_template %}
|
{% include list_template %}
|
||||||
|
|
||||||
{% endcache %}
|
|
Loading…
Reference in New Issue