On Sun, 2008-06-29 at 06:45 +0530, M.Ganesh wrote:
[...]
> Can I use the existing serializer with a list? If yes may be I can 
> construct the list by hand and then serialize. The list will have less 
> than 10 entries only

Django's serializer is for serializing models (or querysets). However,
since Django includes Bob Ippolito's simplejson serializer, you can use
that directly to do whatever you want. Have a look at
django.utils.simplejson, in particular the docstring in __init__.py or
http://simplejson.googlecode.com/svn/tags/simplejson-1.5/docs/index.html

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to