diff options
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 |
