<commit_before>{% load i18n cache routines %}

{% cache 3600 evenement evenement.pk LANGUAGE_CODE user.id %}
  {% include "catalogue/include/etat.html" with etat=evenement.etat %}

  <h2 style="text-align: center;">
    <a href="{{ evenement.get_absolute_url }}">
      {{ evenement.ancrage_debut.calc_date|capfirst|safe }}
    </a>
  </h2>

  <h4>
    {{ evenement.html|safe }}
  </h4>
  <p>{{ evenement.distribution.html|safe }}</p>

  {% with elements=evenement.programme.all %}
    {% for element in elements %}
      {% if forloop.first %}
        <h3 class="programme_titre">{% trans "programme"|capfirst %}</h3>
        {% if elements.count > 1 %}
          <table class="programme">
        {% endif %}
      {% endif %}<commit_msg>Modifie la mise en cache des événements.<commit_after>{% load i18n cache routines %}

{% cache 86400 evenement evenement.pk LANGUAGE_CODE %}
  {% include "catalogue/include/etat.html" with etat=evenement.etat %}

  <h2 style="text-align: center;">
    <a href="{{ evenement.get_absolute_url }}">
      {{ evenement.ancrage_debut.calc_date|capfirst|safe }}
    </a>
  </h2>

  <h4>
    {{ evenement.html|safe }}
  </h4>
  <p>{{ evenement.distribution.html|safe }}</p>

  {% with elements=evenement.programme.all %}
    {% for element in elements %}
      {% if forloop.first %}
        <h3 class="programme_titre">{% trans "programme"|capfirst %}</h3>
        {% if elements.count > 1 %}
          <table class="programme">
        {% endif %}
      {% endif %}
{'fraction_non_alphanumeric': 0.172, 'fraction_numerical': 0.018, 'mean_word_length': 3.101092896174863, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5519876', 'n_tokens_mistral': 573, 'n_tokens_neox': 507, 'n_words': 105}