refactor: pyupgrade second iteration (#27461)
This commit is contained in:
@@ -54,4 +54,4 @@ def show_reference_template(request, template):
|
||||
|
||||
return render_to_response(template, context)
|
||||
except TemplateDoesNotExist:
|
||||
return HttpResponseNotFound('Missing template {template}'.format(template=bleach.clean(template, strip=True)))
|
||||
return HttpResponseNotFound(f'Missing template {bleach.clean(template, strip=True)}')
|
||||
|
||||
Reference in New Issue
Block a user