Skip to content

Commit 244a7a9

Browse files
committed
Import import_module directly instead of through django, which is deprecated.
- Legacy-Id: 12581
1 parent 7e30889 commit 244a7a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def autodiscover():
134134
"""
135135

136136
from django.conf import settings
137-
from django.utils.importlib import import_module
137+
from importlib import import_module
138138
from django.utils.module_loading import module_has_submodule
139139

140140
for app in settings.INSTALLED_APPS:

0 commit comments

Comments
 (0)