Commit b3231479 authored by Carlton Gibson's avatar Carlton Gibson

Update import of importlib

Work around `RemovedInDjango19Warning`. Fixes #93
parent 152afe02
import warnings
from django.core.exceptions import ImproperlyConfigured
from django.utils.importlib import import_module
from redis.connection import SSLConnection
from redis_cache.compat import (
smart_text, python_2_unicode_compatible, parse_qs, urlparse
)
try:
import importlib
except ImportError:
from django.utils import importlib
try:
basestring
except NameError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment