Skip to content

Commit 986d32b

Browse files
committed
get importlib from django.utils, to support python 2.6
1 parent 01a9087 commit 986d32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: userroles/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from django.conf import settings
22
from django.core.exceptions import ImproperlyConfigured
3-
import importlib
3+
from django.utils import importlib
44

55

66
_IMPORT_FAILED = "Could not import role profile '%s'"

0 commit comments

Comments
 (0)