diff --git a/config/settings/base.py b/config/settings/base.py index 0337604e4..cc2e6fabb 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -103,9 +103,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 021da39ac..0f13b8a97 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 9ca2232eb..f2172f3b3 100644 --- a/lacommunaute/templates/layouts/base.html +++ b/lacommunaute/templates/layouts/base.html @@ -13,6 +13,8 @@ + + @@ -102,7 +104,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 c6e44dc0f..f66448c1c 100644 --- a/lacommunaute/templates/pages/home.html +++ b/lacommunaute/templates/pages/home.html @@ -134,7 +134,7 @@

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