add back the cache

This commit is contained in:
Julien Constant 2023-03-13 12:16:22 +01:00
parent f13abf5c44
commit 37d9226b16

View File

@ -61,7 +61,7 @@
<input type="submit" value="{% trans %}Search{% endtrans %}" style="display: none;" /> <input type="submit" value="{% trans %}Search{% endtrans %}" style="display: none;" />
</form> </form>
<ul class="bars"> <ul class="bars">
{% cache 0 "counters_activity" %} {% cache 100 "counters_activity" %}
{% for bar in Counter.objects.annotate_has_barman(user).filter(type="BAR") %} {% for bar in Counter.objects.annotate_has_barman(user).filter(type="BAR") %}
<li> <li>
{# If the user is a barman, we redirect him directly to the barman page {# If the user is a barman, we redirect him directly to the barman page