refactor: pyupgrade second iteration (#27461)

This commit is contained in:
Usama Sadiq
2021-05-11 11:24:07 +05:00
committed by GitHub
parent 4dae1abd67
commit 46993bff00
12 changed files with 17 additions and 17 deletions

View File

@@ -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)}')