access subapp routes via <app-name>:<route-name>
Offen
enhancement
- Vorherrschende Sprache
- Python
- Sterne
- 16.5k
- Forks
- 2.4k
- Ø Merge
- 17 Std. 22 Min.
- Gemergte PRs (30 T.)
- 212
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.