forked from mirrors/bookwyrm
Cache fix (#1961)
This commit is contained in:
parent
c77e5a1a90
commit
4672294d7c
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
{% load cache %}
|
{% load cache %}
|
||||||
|
|
||||||
{# Three day cache #}
|
{# Three day cache #}
|
||||||
{% cache 259200 generated_note_header status.id %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
|
{% cache 259200 generated_note_header LANGUAGE_CODE status.id %}
|
||||||
{% if status.content == 'wants to read' %}
|
{% if status.content == 'wants to read' %}
|
||||||
{% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %}
|
{% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %}
|
||||||
{% elif status.content == 'finished reading' %}
|
{% elif status.content == 'finished reading' %}
|
||||||
|
|
Loading…
Reference in a new issue