Fix cache + problem pdf

This commit is contained in:
cuom1999 2024-02-28 14:13:59 -06:00
parent 85bee3e77c
commit 6dbe3932de
3 changed files with 9 additions and 7 deletions

View file

@ -30,7 +30,7 @@
{% endif %}
<div class="blog-description">
<div class='content-description'>
{% cache 86400 'problem_html' problem.id MATH_ENGINE LANGUAGE_CODE %}
{% cache 86400 'problem_html' problem.id LANGUAGE_CODE %}
{{ problem.description|markdown(lazy_load=True)|reference|str|safe }}
{% endcache %}
{% if problem.pdf_description %}