Re: [Django] #13500: template loaders to be passed the request

2010-07-08 Thread Django
#13500: template loaders to be passed the request
--+-
  Reporter:  kennydude| Owner:  nobody
Status:  closed   | Milestone:  1.2   
 Component:  Template system  |   Version:  1.1   
Resolution:  wontfix  |  Keywords:
 Stage:  Unreviewed   | Has_patch:  0 
Needs_docs:  0|   Needs_tests:  0 
Needs_better_patch:  0|  
--+-
Comment (by timc3):

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

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13500: template loaders to be passed the request

2010-05-09 Thread Django
#13500: template loaders to be passed the request
--+-
  Reporter:  kennydude| Owner:  nobody
Status:  closed   | Milestone:  1.2   
 Component:  Template system  |   Version:  1.1   
Resolution:  wontfix  |  Keywords:
 Stage:  Unreviewed   | Has_patch:  0 
Needs_docs:  0|   Needs_tests:  0 
Needs_better_patch:  0|  
--+-
Comment (by kennydude):

 Replying to [comment:1 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?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13500: template loaders to be passed the request

2010-05-08 Thread Django
#13500: template loaders to be passed the request
--+-
  Reporter:  kennydude| Owner:  nobody
Status:  closed   | Milestone:  1.2   
 Component:  Template system  |   Version:  1.1   
Resolution:  wontfix  |  Keywords:
 Stage:  Unreviewed   | Has_patch:  0 
Needs_docs:  0|   Needs_tests:  0 
Needs_better_patch:  0|  
--+-
Changes (by Alex):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => wontfix
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 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.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #13500: template loaders to be passed the request

2010-05-08 Thread Django
#13500: template loaders to be passed the request
-+--
 Reporter:  kennydude|   Owner:  nobody
   Status:  new  |   Milestone:  1.2   
Component:  Template system  | Version:  1.1   
 Keywords:   |   Stage:  Unreviewed
Has_patch:  0|  
-+--
 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)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.