summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-15 14:07:31 -0400
committerTim Graham <timograham@gmail.com>2015-06-27 11:53:33 -0400
commit7da3923ba0c569aa23d0ab0a47a124af60a18f5b (patch)
tree32f3e3bebb9cf0a404669a6113245e04f5d9cb80 /django/template
parent4a66a69239c493c05b322815b18c605cd4c96e7c (diff)
Sorted imports in __init__.py files.
Diffstat (limited to 'django/template')
-rw-r--r--django/template/__init__.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py
index 7ca21a188f..63b3d7ba4d 100644
--- a/django/template/__init__.py
+++ b/django/template/__init__.py
@@ -42,10 +42,8 @@ Shared:
# Multiple Template Engines
from .engine import Engine
-
from .utils import EngineHandler
-
engines = EngineHandler()
__all__ = ('Engine', 'engines')
@@ -54,19 +52,20 @@ __all__ = ('Engine', 'engines')
# Django Template Language
# Public exceptions
-from .base import VariableDoesNotExist # NOQA
-from .context import ContextPopException # NOQA
-from .exceptions import TemplateDoesNotExist, TemplateSyntaxError # NOQA
+from .base import VariableDoesNotExist # NOQA isort:skip
+from .context import ContextPopException # NOQA isort:skip
+from .exceptions import TemplateDoesNotExist, TemplateSyntaxError # NOQA isort:skip
# Template parts
-from .base import (Context, Node, NodeList, Origin, RequestContext, # NOQA
- Template, Variable)
+from .base import ( # NOQA isort:skip
+ Context, Node, NodeList, Origin, RequestContext, Template, Variable,
+)
# Deprecated in Django 1.8, will be removed in Django 1.10.
-from .base import resolve_variable # NOQA
+from .base import resolve_variable # NOQA isort:skip
# Library management
-from .library import Library # NOQA
+from .library import Library # NOQA isort:skip
__all__ += ('Template', 'Context', 'RequestContext')