aio-libs / aio-libs/aiohttp

access subapp routes via <app-name>:<route-name>

Open
#2,314 12 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
16.5k
Forks
2.4k
Avg merge
17h 22m
Merged PRs (30d)
212

Description

From aio-libs/aiohttp-jinja2#163

> I think sub app routes should be available via `subapp:view-name`, which would require a `route_name` argument to `add_subapp`.

This would roughly mirror django routing and would make stuff like the `url()` jinja function work with subapps.

It would also make all `url_for` calls refering to subapps more succinct.

I think @asvetlov has some thoughts on implementation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.