From da96e67e525fc3455a435b8bea5f94ea984327d7 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Mon, 17 Jul 2023 17:36:24 +0200 Subject: [PATCH] wip --- config/settings/base.py | 2 - .../templates/event/event_calendar.html | 2 +- lacommunaute/templates/layouts/base.html | 10 +- lacommunaute/templates/pages/home.html | 2 +- .../templates/pages/statistiques.html | 2 +- poetry.lock | 497 +++++++++--------- pyproject.toml | 1 - requirements/base.txt | 197 +++---- requirements/dev.txt | 463 ++++++++-------- 9 files changed, 566 insertions(+), 610 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index ef2a9f6bc..09613227b 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -101,9 +101,7 @@ ] LOCAL_MIDDLEWARE = [ - "lacommunaute.utils.middleware.NonceMiddleware", "machina.apps.forum_permission.middleware.ForumPermissionMiddleware", - "lacommunaute.utils.middleware.NonceMiddleware", ] MIDDLEWARE = DJANGO_MIDDLEWARE + THIRD_PARTIES_MIDDLEWARE + LOCAL_MIDDLEWARE diff --git a/lacommunaute/templates/event/event_calendar.html b/lacommunaute/templates/event/event_calendar.html index e5c7bc1ac..5559202d7 100644 --- a/lacommunaute/templates/event/event_calendar.html +++ b/lacommunaute/templates/event/event_calendar.html @@ -55,7 +55,7 @@

Les évènements à venir

{% endblock %} {% block extra_js %} - + diff --git a/lacommunaute/templates/layouts/base.html b/lacommunaute/templates/layouts/base.html index fff6c6332..c5b145e65 100644 --- a/lacommunaute/templates/layouts/base.html +++ b/lacommunaute/templates/layouts/base.html @@ -15,6 +15,8 @@ + + @@ -104,7 +106,7 @@ {% block js %} {% import_static_JS_theme_inclusion %} - + + {% if COMMU_ENVIRONMENT == 'PROD' %} - + {% endif %} - + {% endblock %} diff --git a/lacommunaute/templates/pages/home.html b/lacommunaute/templates/pages/home.html index da0888285..0a2bbb611 100644 --- a/lacommunaute/templates/pages/home.html +++ b/lacommunaute/templates/pages/home.html @@ -134,7 +134,7 @@

{% block extra_js %} {{ block.super }} - + -