Removes status content cache
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
{% load cache %}
|
||||
|
||||
{# Three day cache #}
|
||||
{% cache 259200 generated_note_header status.id %}
|
||||
{% if status.content == 'wants to read' %}
|
||||
{% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %}
|
||||
{% elif status.content == 'finished reading' %}
|
||||
@ -7,3 +11,4 @@
|
||||
{% else %}
|
||||
{{ status.content }}
|
||||
{% endif %}
|
||||
{% endcache %}
|
||||
|
Reference in New Issue
Block a user