diff --git a/django/template/base.py b/django/template/base.py index 9bd303b576..eee60a190e 100644 --- a/django/template/base.py +++ b/django/template/base.py @@ -57,6 +57,7 @@ import warnings from enum import Enum from django.template.context import BaseContext +from django.utils.deprecation import RemovedInDjango61Warning from django.utils.formats import localize from django.utils.html import conditional_escape, escape from django.utils.regex_helper import _lazy_re_compile @@ -64,7 +65,6 @@ from django.utils.safestring import SafeData, SafeString, mark_safe from django.utils.text import get_text_list, smart_split, unescape_string_literal from django.utils.timezone import template_localtime from django.utils.translation import gettext_lazy, pgettext_lazy -from django.utils.deprecation import RemovedInDjango61Warning from .exceptions import TemplateSyntaxError