mirror of
https://github.com/django/django.git
synced 2025-04-13 03:52:20 +00:00
clean-up of useless imports
This commit is contained in:
parent
afb9176440
commit
9c2991580f
1
django/core/cache/backends/base.py
vendored
1
django/core/cache/backends/base.py
vendored
@ -394,6 +394,7 @@ class BaseCache:
|
||||
"configured correctly."
|
||||
)
|
||||
|
||||
|
||||
memcached_error_chars_re = _lazy_re_compile(r"[\x00-\x20\x7f]")
|
||||
|
||||
|
||||
|
1
django/core/cache/backends/filebased.py
vendored
1
django/core/cache/backends/filebased.py
vendored
@ -14,6 +14,7 @@ from django.core.checks import Warning
|
||||
from django.core.files import locks
|
||||
from django.core.files.move import file_move_safe
|
||||
|
||||
|
||||
class FileBasedCache(BaseCache):
|
||||
cache_suffix = ".djcache"
|
||||
pickle_protocol = pickle.HIGHEST_PROTOCOL
|
||||
|
@ -1,5 +1,4 @@
|
||||
import pathlib
|
||||
import json
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.cache import DEFAULT_CACHE_ALIAS, caches
|
||||
|
Loading…
x
Reference in New Issue
Block a user