diff options
Diffstat (limited to 'django/templatetags/i18n.py')
-rw-r--r-- | django/templatetags/i18n.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/django/templatetags/i18n.py b/django/templatetags/i18n.py index aa0a34ef40..2a2b433508 100644 --- a/django/templatetags/i18n.py +++ b/django/templatetags/i18n.py @@ -1,14 +1,15 @@ from __future__ import unicode_literals + import re import sys from django.conf import settings from django.template import Library, Node, TemplateSyntaxError, Variable -from django.template.base import render_value_in_context, TokenParser, TOKEN_TEXT, TOKEN_VAR +from django.template.base import ( + TOKEN_TEXT, TOKEN_VAR, TokenParser, render_value_in_context, +) from django.template.defaulttags import token_kwargs -from django.utils import six -from django.utils import translation - +from django.utils import six, translation register = Library() |