On Fri, 2007-06-01 at 05:19 -0700, 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 aren't actually explaining what error you are seeing from the
solution you tried, but I gather you are stumbling into #3466 from what
you say next. Is that correct? If there's an open ticket showing that
what you want to do is a known bug, then that is why it doesn't work.

Asking "why hasn't that been fixed by now" is not particularly good
form. There are a lot of open tickets. We try to get to them all in due
course. I haven't looked at that one recently; it looks like it might be
ready to apply once it's had a bit of a review. A little patience on
your part will go a long way here. If you are desperate for a solution,
apply the patches from that ticket and see if the fix works for you.

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