diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /django/template/backends | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'django/template/backends')
| -rw-r--r-- | django/template/backends/base.py | 3 | ||||
| -rw-r--r-- | django/template/backends/django.py | 3 | ||||
| -rw-r--r-- | django/template/backends/jinja2.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/django/template/backends/base.py b/django/template/backends/base.py index 25a7dd2a15..00b5fc4b2b 100644 --- a/django/template/backends/base.py +++ b/django/template/backends/base.py @@ -2,7 +2,8 @@ from __future__ import absolute_import from django.core.exceptions import ( - ImproperlyConfigured, SuspiciousFileOperation) + ImproperlyConfigured, SuspiciousFileOperation, +) from django.template.utils import get_app_template_dirs from django.utils._os import safe_join from django.utils.functional import cached_property diff --git a/django/template/backends/django.py b/django/template/backends/django.py index 2fe3227237..942445d367 100644 --- a/django/template/backends/django.py +++ b/django/template/backends/django.py @@ -5,10 +5,9 @@ import warnings from django.conf import settings from django.template.context import Context, RequestContext -from django.template.engine import _dirs_undefined, Engine +from django.template.engine import Engine, _dirs_undefined from django.utils.deprecation import RemovedInDjango20Warning - from .base import BaseEngine diff --git a/django/template/backends/jinja2.py b/django/template/backends/jinja2.py index cc99a745cf..b26cb391f2 100644 --- a/django/template/backends/jinja2.py +++ b/django/template/backends/jinja2.py @@ -3,13 +3,13 @@ from __future__ import absolute_import import sys +import jinja2 + from django.conf import settings from django.template import TemplateDoesNotExist, TemplateSyntaxError from django.utils import six from django.utils.module_loading import import_string -import jinja2 - from .base import BaseEngine from .utils import csrf_input_lazy, csrf_token_lazy |
