Re: De-serialization of ManyToManyField

2012-03-28 Thread sk
Hi, I finally worked out where the problem was! I am posting the answer in case that someone else has a similar issue and stumbles upon this. So I have reverted to the original model, as defined in the first email here. The problem was with my definition of the natural keys, my function was not

Re: De-serialization of ManyToManyField

2012-03-27 Thread sk
Hi, So a brief update. I changed the way I was building this model and explicitly created a 'joining' table and added a through clause to the ManyToManyField definition as well as allowing null values. This meant I was able to populate the joining table using YAML after building the test/instance

De-serialization of ManyToManyField

2012-03-26 Thread sk
Hi, I have searched high and low to an answer to this, but have been unable too turn anything up. Apologies if I have overlooked an answer or explanation elsewhere. I have set up a very simple model as follows: --- from djang