On 8/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I know the discussion about django and ajax compatible response. The > 'hardliners' say that you only need to implement your own kind of template - > which is true for all time, but I would prefer a much more generic way to get > the response from the views.
I think the ideal would be to have generic views accept an additional parameter which tells them how to format the response -- whether to return HTML, or to serialize to XML or JSON (since we've got object serialization already). See ticket #2553, which is where it's been proposed: http://code.djangoproject.com/ticket/2553 -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

