Changed '%s' % value pattern to str(value).

This commit is contained in:
Nick Pope 2020-05-01 15:54:15 +01:00 committed by Mariusz Felisiak
parent 7668f9bce9
commit 8f10ceaa90
13 changed files with 36 additions and 35 deletions

View file

@ -170,12 +170,12 @@ def escape_format_html(context):
@register.simple_tag(takes_context=True)
def current_app(context):
return "%s" % context.current_app
return str(context.current_app)
@register.simple_tag(takes_context=True)
def use_l10n(context):
return "%s" % context.use_l10n
return str(context.use_l10n)
@register.simple_tag(name='minustwo')