mirror of https://github.com/django/django.git
Avoid importing the deprecated `django.utils.importlib` package.
This commit is contained in:
parent
e9b703f5a5
commit
eadecf0cdb
|
@ -1,3 +1,5 @@
|
||||||
|
from __future__ import absolute_import # Avoid importing `importlib` from this package.
|
||||||
|
|
||||||
import decimal
|
import decimal
|
||||||
import datetime
|
import datetime
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
from __future__ import absolute_import # Avoid importing `importlib` from this package.
|
||||||
|
|
||||||
import imp
|
import imp
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in New Issue