Use cachalot to invalidate caches
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{% load cache %}
|
||||
{% load cachalot cache %}
|
||||
{% get_last_invalidation 'core.Callback' as last %}
|
||||
{% include 'mixins/partials/notify.html' %}
|
||||
{% cache 600 objects_callbacks request.user.id object_list %}
|
||||
{% cache 600 objects_callbacks request.user.id object_list last %}
|
||||
<table class="table is-fullwidth is-hoverable" id="callbacks-table">
|
||||
<thead>
|
||||
<th>id</th>
|
||||
|
||||
Reference in New Issue
Block a user