From b62603775a4ea62d09d75a109adacdbcaa86e340 Mon Sep 17 00:00:00 2001 From: William Gearty Date: Tue, 31 Oct 2023 21:44:56 -0400 Subject: [PATCH] Lint fix --- esp/esp/utils/web.py | 2 +- esp/esp/web/views/main.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/esp/esp/utils/web.py b/esp/esp/utils/web.py index ea17939117..c482e551c8 100644 --- a/esp/esp/utils/web.py +++ b/esp/esp/utils/web.py @@ -80,7 +80,7 @@ def render_to_response(template, request, context, content_type=None, use_reques template = [ template ] section = request.path.split('/')[1] - + context.update(esp_context_stuff()) # create nav bar list diff --git a/esp/esp/web/views/main.py b/esp/esp/web/views/main.py index 64565bc879..05011e1fbb 100644 --- a/esp/esp/web/views/main.py +++ b/esp/esp/web/views/main.py @@ -55,6 +55,7 @@ from esp.utils.no_autocookie import disable_csrf_cookie_update from django.views.decorators.cache import cache_control +from django.conf import settings try: from cStringIO import StringIO