mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Changed '%s' % value
pattern to str(value)
.
This commit is contained in:
parent
7668f9bce9
commit
8f10ceaa90
13 changed files with 36 additions and 35 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue