vary template cache on language
[wolnelektury.git] / src / catalogue / templates / catalogue / book_detail.html
index 3b13624..cf26b12 100644 (file)
@@ -13,7 +13,8 @@
 {% block bodyid %}book-detail{% endblock %}
 
 {% block body %}
-  {% cache 86400 book_wide book.pk book|status:user %}
+  {% get_current_language as LANGUAGE_CODE %}
+  {% cache 86400 book_wide book.pk book|status:user LANGUAGE_CODE %}
     {% include 'catalogue/book_wide.html' %}
   {% endcache %}