Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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)

comment:1 by Alex Gaynor, 15 years ago

Resolution: wontfix
Status: newclosed

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.

in reply to:  1 comment:2 by kennydude, 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?

comment:3 by Tim Child, 14 years ago

I agree, there is no clear way of making the request available.

comment:4 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top