From 2e9ada15510e5729c331d7383fc9827e9082a8a9 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 14 Jul 2017 10:07:18 -0400 Subject: Fixed #28397 -- Removed django.core.exceptions.DjangoRuntimeWarning. --- django/core/cache/backends/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'django/core/cache') diff --git a/django/core/cache/backends/base.py b/django/core/cache/backends/base.py index b5661891d6..a0ed8275f9 100644 --- a/django/core/cache/backends/base.py +++ b/django/core/cache/backends/base.py @@ -2,7 +2,7 @@ import time import warnings -from django.core.exceptions import DjangoRuntimeWarning, ImproperlyConfigured +from django.core.exceptions import ImproperlyConfigured from django.utils.module_loading import import_string @@ -10,7 +10,7 @@ class InvalidCacheBackendError(ImproperlyConfigured): pass -class CacheKeyWarning(DjangoRuntimeWarning): +class CacheKeyWarning(RuntimeWarning): pass -- cgit v1.3