On Thu, Nov 20, 2008 at 9:47 PM, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On Thu, Nov 20, 2008 at 6:19 AM, zvoase <[EMAIL PROTECTED]> wrote:
> ...
>> # Using RequestContext
>> def myview(request, *args):
>>    # some code here...
>>    request.render('template_name.html', {...})
> ...
>>
>> That just seems logical to me. Rather than (potentially) break
>> backwards compatibility, let things be as they are right now and just
>> add a method to the request.
>
> Except that it couples request and response objects to templates.

But render_to_response also does that?
You want request and response to be loosely coupled? Does it make
sense? Aren't they coupled in render_to_response and response
processing code anyway?

Please explain your point a bit more.

-- 
Best regards, Yuri V. Baburov, ICQ# 99934676, Skype: yuri.baburov,
MSN: [EMAIL PROTECTED]

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

Reply via email to