#13500 closed (wontfix)
template loaders to be passed the request
Reported by: | kennydude | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | 1.1 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I think template loaders would be more useful if they were passed the Request object.
This way they could dynamically have more options to pick and we would be able to see more interesting things for example:
- View mode's (mobile etc) picked for all components
- User styles
- Compressing the template if wanted (saving space for mobile internet allowance)
Change History (4)
follow-up: 2 comment:1 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Replying to Alex:
Closing as wontfix: the template and request systems are totally independent, and should stay that way. If you want to write a custom template loader there are ways of making the request accessible.
I've look on the internet and it seems there is no way to get the request through. Can you tell me how I would do that?
Closing as wontfix: the template and request systems are totally independent, and should stay that way. If you want to write a custom template loader there are ways of making the request accessible.