diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/cache/backends/base.py | 4 | ||||
| -rw-r--r-- | django/core/exceptions.py | 4 |
2 files changed, 2 insertions, 6 deletions
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 diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 04ed3bd205..86a3988585 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -8,10 +8,6 @@ class FieldDoesNotExist(Exception): pass -class DjangoRuntimeWarning(RuntimeWarning): - pass - - class AppRegistryNotReady(Exception): """The django.apps registry is not populated yet""" pass |
