Re: Do Fixtures have a limit?

2010-11-23 Thread Ryno in Stereo
Hey Reinot, Thanks so much for replying! It wasn't quite as simple as those rows were duplicates but that got me on the right track and now it works perfectly. Cheers, Ryan On Nov 23, 12:22 am, Reinout van Rees <rein...@vanrees.org> wrote: > On 11/22/2010 03:16 PM, Ryno in Ste

Do Fixtures have a limit?

2010-11-22 Thread Ryno in Stereo
I'm trying to create around 32,000 rows in a table via a json fixture and although Django confirms via the commandline that it's worked (Installed 32423 object(s) from 1 fixture(s) ), I can only ever see 20,149 records in my MySQl database. I can't any mention of an upper limit for fixtures and

ModelAdmin save_model method not saving many to many relationship value

2010-06-05 Thread Ryno in Stereo
I have a Page model that uses the sites framework and I've added a save_model method on its admin class to check if the template or sites collections are empty. If they are, I want to populate them with default values. Why not do this in the model declaration? - I can't seem to populate a