From fa72b2771b350d62f607945c5e27c44182fa8912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pasternak?= Date: Wed, 10 Aug 2022 22:32:23 +0200 Subject: [PATCH] Flake8 --- dbtemplates/utils/cache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbtemplates/utils/cache.py b/dbtemplates/utils/cache.py index ef86a53..923ee59 100644 --- a/dbtemplates/utils/cache.py +++ b/dbtemplates/utils/cache.py @@ -1,4 +1,3 @@ -import django from dbtemplates.conf import settings from django.contrib.sites.models import Site from django.core import signals @@ -11,7 +10,7 @@ def get_cache_backend(): """ from django.core.cache import caches cache = caches.create_connection(settings.DBTEMPLATES_CACHE_BACKEND) - + # Some caches -- python-memcached in particular -- need to do a cleanup at # the end of a request cycle. If not implemented in a particular backend # cache.close is a no-op