Hello, Guyon Moree, What you are doing is very interesting. I am also looking into JSON at client side and Python at server side.
I am particularly interested in how to access session objects in JSON and Python, so that both sides know the same sessions to handle. I am using Windows IIS. Is there a straightforward way to programmatically access session, session id? Is there is a concise and straightforward instruction on this and working demo scripts in JSON and Python? Regards. David 2009/1/21 Guyon Morée <[email protected]> > > Hi, > > I've built a bunch of 'normal' views rendering templates and > processing POST's. > > Now, I'd like to build a API for my site, based on JSON. When building > this API I noticed most of the views are 99% the same, except for > outputting JSON instead of HTML templates. > > Any ideas how I could reduce duplication of code in these cases? > > > -- > Guyon Moree > http://gumuz.nl/ > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

