web-junkie wrote:
> Hi
> how can I get JSON out of my Django object without having certain
> fields in there for obvious reasons?
> I found solutions like serializers.serialize("json",
> Something.objects.all(), fields='myfield' )
> which do not work, there's also a ticket on that 
> http://code.djangoproject.com/ticket/3466
> Why isn't that solved by now and how can I get it to work the way I
> want?

you can always write your own serializer... check how the json one is 
done...

gabor

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