summaryrefslogtreecommitdiff
path: root/django/template/loader.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-28 07:35:27 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 08:16:28 -0500
commit0ed7d155635da9f79d4dd67e4889087d3673c6da (patch)
treecf5c59b563f01774f32e20b3af8cb24a387fdc4d /django/template/loader.py
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
Sorted imports with isort; refs #23860.
Diffstat (limited to 'django/template/loader.py')
-rw-r--r--django/template/loader.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/django/template/loader.py b/django/template/loader.py
index c03690fbd1..c8fb16bf92 100644
--- a/django/template/loader.py
+++ b/django/template/loader.py
@@ -6,7 +6,9 @@ from . import engines
from .backends.django import DjangoTemplates
from .base import Origin, TemplateDoesNotExist
from .engine import (
- _context_instance_undefined, _dictionary_undefined, _dirs_undefined)
+ _context_instance_undefined, _dictionary_undefined, _dirs_undefined,
+)
+from .loaders import base
class LoaderOrigin(Origin):
@@ -142,10 +144,6 @@ def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
-# This line must remain at the bottom to avoid import loops.
-from .loaders import base
-
-
class BaseLoader(base.Loader):
_accepts_engine_in_init = False