Updating string format synatx part 2
This commit is contained in:
parent
be86fbcf4d
commit
acfb1bb376
36 changed files with 96 additions and 110 deletions
|
@ -63,7 +63,7 @@ class Search(View):
|
|||
data["results"] = paginated
|
||||
data["remote"] = search_remote
|
||||
|
||||
return TemplateResponse(request, "search/{:s}.html".format(search_type), data)
|
||||
return TemplateResponse(request, f"search/{search_type}.html", data)
|
||||
|
||||
|
||||
def book_search(query, _, min_confidence, search_remote=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue