django-piston: how to get values of a many to many field ?

Posted by jzelez on Stack Overflow See other posts from Stack Overflow or by jzelez
Published on 2010-06-15T22:26:36Z Indexed on 2010/06/15 22:32 UTC
Read the original article Hit count: 267

Filed under:
|
|

I have a model with ManyToManyField to another model. I would like to get all the info on a particular record (including the related info from other models) return by JSON.

How to get django-piston to display those values? I would be happy with just primary keys. Or can you suggest another option ?

© Stack Overflow or respective owner

Related posts about django

Related posts about JSON