Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle starlette/templating.py:161: DeprecationWarning: The
name
is… (
#1976) Fixes: starlette/templating.py:161: DeprecationWarning: The `name` is not the first parameter anymore. The first parameter should be the `Request` instance. Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`. Changes proposed in this pull request: - - - Co-authored-by: Robbe Sneyders <[email protected]>
- Loading branch information