Vary objects cache on user ID and object list
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{% load cache %}
|
{% load cache %}
|
||||||
|
|
||||||
{% cache 60 object_list %}
|
{% cache 60 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user