Re: Complex serialization from models

2010-12-21 Thread Dan Fairs
On 21 Dec 2010, at 12:19, gregory semah wrote: > Nobody has a quick answer ? > Take a look at Django's natural key support - it allows you to control what's serialized for fk references. Cheers, Dan > On Dec 20, 4:11 pm, gregory semah wrote: >> Hi all, >> >> I'm searching a simple way to g

Re: Complex serialization from models

2010-12-21 Thread Konrad Delong
On 21 December 2010 13:19, gregory semah wrote: > Nobody has a quick answer ? > It looks like xml serialisation wasn't designed to be customisable in the way you need. If I were you, I'd look around the code and see what I could reuse from there. Konrad > On Dec 20, 4:11 pm, gregory semah wrot

Re: Complex serialization from models

2010-12-21 Thread gregory semah
Nobody has a quick answer ? On Dec 20, 4:11 pm, gregory semah wrote: > Hi all, > > I'm searching a simple way to generate xml from my models, and a > simple use of serializers can do this for me. > But my models are defined with ForeignKey and ManyToManyField... > The xml generated shows me only