diff options
| author | Przemysław Suliga <suligap@gmail.com> | 2016-04-04 21:20:55 +0200 |
|---|---|---|
| committer | Simon Charette <charettes@users.noreply.github.com> | 2016-04-04 15:20:55 -0400 |
| commit | d356bb653f4d90ae9809e5a051791ded39010c38 (patch) | |
| tree | 3b83546c20ecb0d02dade4591bd0e9fc2bfe631e /django/core/cache | |
| parent | 15a20dc9aff1bd8a055ee7c322631b3ca4d1c474 (diff) | |
Fixed #26460 -- Issued a single warning for invalid cache key
Diffstat (limited to 'django/core/cache')
| -rw-r--r-- | django/core/cache/backends/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/cache/backends/base.py b/django/core/cache/backends/base.py index 12351c5bcd..0b13a881bf 100644 --- a/django/core/cache/backends/base.py +++ b/django/core/cache/backends/base.py @@ -242,6 +242,7 @@ class BaseCache(object): warnings.warn('Cache key contains characters that will cause ' 'errors if used with memcached: %r' % key, CacheKeyWarning) + break def incr_version(self, key, delta=1, version=None): """Adds delta to the cache version for the supplied key. Returns the |
