On Tue, Nov 18, 2008 at 5:40 PM, Nathaniel Whiteinge
<[EMAIL PROTECTED]> wrote:

>my Python-foo is not strong, is there a reason I should
> avoid using direct_to_template in 99% of my views?

I think if people are already using RequestContext 99% of the time,
then render_to_response should include by default, if only to reduce
confusion.   There's no reason to cause confusion when someone uses
render_to_response, following tutorial code or something else, and
wonder why things aren't working the way they expect it to work.

There's nothing wrong with using direct_to_template, but if you use it
99% of the time, and if a vast majority of people are using it or
something similar 99% of the time, then render_to_response should be
changed to align with actual usage.

-- 
---
David Zhou
[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