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 }} - + -