Skip to content

Conversation

@mavwolverine
Copy link
Contributor

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:

mavwolverine and others added 2 commits September 9, 2024 17:51
… not the first parameter anymore. The first parameter should be the `Request` instance.

  Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.
@RobbeSneyders
Copy link
Member

Thanks @virajkanwade!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants