Thanks Mike.
The issue is the inflexible handling of fk entries of a model by the
django serializer or more accurately PythonSerializer. The behavior is
inherited by json and xml serializers the same. I've eventually
resorted to rewriting the whole serialization to make it a better fit
for my aja
On Tuesday 01 September 2009 12:29:56 pm Amir Habibi wrote:
> How can I serialize a Queryset along with the related records. For
> example, in Poll and Choice case, I need each poll to have the choices
> encoded in json format.
>
> Thanks
>
you'll want to look at the docs on serialization [1], it
How can I serialize a Queryset along with the related records. For
example, in Poll and Choice case, I need each poll to have the choices
encoded in json format.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
3 matches
Mail list logo