access subapp routes via <app-name>:<route-name>
Aperta
enhancement
- Lingua principale
- Python
- Stelle
- 16.5k
- Fork
- 2.4k
- Merge medio
- 17h 22m
- PR unite (30g)
- 212
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.