We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature Request
Add a request.url_for method (including helper for Jinja2), supporting an optional name?
request.url_for
Maybe:
def url_for(path: str, *, name: str | None = None): ...
Like in Starlette (ref):
Mount("/users", name="users", routes=[ Route("/", user, name="user_list"), Route("/{username}", user, name="user_detail") ])
The text was updated successfully, but these errors were encountered:
We also need Mount support for subrouting.
Mount
Sorry, something went wrong.
No branches or pull requests
馃殌 Feature Request
Add a
request.url_for
method (including helper for Jinja2), supporting an optional name?Maybe:
Like in Starlette (ref):
The text was updated successfully, but these errors were encountered: