mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
Flake8
This commit is contained in:
parent
fac9f6a807
commit
fa72b2771b
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue