diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/translation/template.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/django/utils/translation/template.py b/django/utils/translation/template.py index 778faa770e..588f538cb2 100644 --- a/django/utils/translation/template.py +++ b/django/utils/translation/template.py @@ -1,11 +1,13 @@ import warnings from io import StringIO -from django.template.base import TRANSLATOR_COMMENT_MARK, Lexer, TokenType +from django.template.base import Lexer, TokenType from django.utils.regex_helper import _lazy_re_compile from . import TranslatorCommentWarning, trim_whitespace +TRANSLATOR_COMMENT_MARK = 'Translators' + dot_re = _lazy_re_compile(r'\S') |
