1
0
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:
almaz amanzholuly 2024-03-24 05:17:11 +05:00
parent afb9176440
commit 9c2991580f
3 changed files with 2 additions and 1 deletions

View File

@ -394,6 +394,7 @@ class BaseCache:
"configured correctly."
)
memcached_error_chars_re = _lazy_re_compile(r"[\x00-\x20\x7f]")

View File

@ -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

View File

@ -1,5 +1,4 @@
import pathlib
import json
from django.conf import settings
from django.core.cache import DEFAULT_CACHE_ALIAS, caches