summaryrefslogtreecommitdiff
path: root/django/apps
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-07-24 07:25:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-30 10:58:59 +0200
commite74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 (patch)
treee478c6d04bbd8b8e1059d67e4e34e61a7666cc58 /django/apps
parent1173db4a16bb2938ba62a6cd50372a76a7f9e05f (diff)
downloaddjango-e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.tar.gz
Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
Diffstat (limited to 'django/apps')
-rw-r--r--django/apps/registry.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/apps/registry.py b/django/apps/registry.py
index 408964a146..62650ca4bc 100644
--- a/django/apps/registry.py
+++ b/django/apps/registry.py
@@ -128,6 +128,7 @@ class Apps:
"""Raise an exception if all apps haven't been imported yet."""
if not self.apps_ready:
from django.conf import settings
+
# If "not ready" is due to unconfigured settings, accessing
# INSTALLED_APPS raises a more helpful ImproperlyConfigured
# exception.