mirror of
https://github.com/django/django.git
synced 2025-10-22 16:22:43 +00:00
Deprecated django.utils.importlib
This was a shim for pre-Python 2.7 support.
This commit is contained in:
parent
ac09558760
commit
fdd7a355bf
38 changed files with 64 additions and 49 deletions
|
@ -1,5 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
import hashlib
|
||||
from importlib import import_module
|
||||
import os
|
||||
import posixpath
|
||||
import re
|
||||
|
@ -18,7 +19,6 @@ from django.core.files.storage import FileSystemStorage, get_storage_class
|
|||
from django.utils.datastructures import SortedDict
|
||||
from django.utils.encoding import force_bytes, force_text
|
||||
from django.utils.functional import LazyObject
|
||||
from django.utils.importlib import import_module
|
||||
from django.utils._os import upath
|
||||
|
||||
from django.contrib.staticfiles.utils import check_settings, matches_patterns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue