1
0
mirror of https://github.com/django/django.git synced 2025-04-14 12:24:36 +00:00

Added: new function to FileBaseCaching, check() and refactored functions in caches.py

This commit is contained in:
almaz amanzholuly 2024-03-24 05:01:28 +05:00
parent 0610a5a5cb
commit 37e7e9bd95

View File

@ -396,6 +396,7 @@ class BaseCache:
memcached_error_chars_re = _lazy_re_compile(r"[\x00-\x20\x7f]")
def memcache_key_warnings(key):
if len(key) > MEMCACHE_MAX_KEY_LENGTH:
yield (