From df09ec0f380f855401581ff5cd448c0e5e95edef Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 31 Aug 2022 19:06:02 +0100 Subject: [PATCH] Ensure request is passed into the singleton URL cache This removes needing extra queries --- website/common/templates/common/navbar.html | 2 +- website/common/templatetags/footer_tags.py | 7 ++++--- website/common/templatetags/navbar_tags.py | 11 ++++++----- website/common/tests/test_pages.py | 2 +- website/common/tests/test_views.py | 2 +- website/home/models.py | 2 +- website/search/tests.py | 2 +- website/well_known/views.py | 2 +- 8 files changed, 16 insertions(+), 14 deletions(-) diff --git a/website/common/templates/common/navbar.html b/website/common/templates/common/navbar.html index 757a3bf..fb3e76b 100644 --- a/website/common/templates/common/navbar.html +++ b/website/common/templates/common/navbar.html @@ -2,7 +2,7 @@