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
-~----------~----~----~----~------~----~------~--~---

Reply via email to