cache: fix error 500 with new django version

This commit is contained in:
2020-06-12 20:44:37 +02:00
parent 45d5728c3e
commit 94b029dc9c
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<div id="birthdays_content">
{% if user.is_subscribed %}
{# Cache request for 1 hour #}
{% cache 3600 birthdays %}
{% cache 3600 "birthdays" %}
<ul class="birthdays_year">
{% for d in birthdays.dates('date_of_birth', 'year', 'DESC') %}
<li>