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