Re: IntegrityError while testing

2012-02-15 Thread xina towner
I think the problem is that the testing tool is trying to reset the database and when it tries to truncate this table it can't. Well, I'm pretty sure, but I don't know how to fix it. The table references itself. On 15 February 2012 14:06, 赵帅 wrote: > > Did you delete one key or update the key to

Re: IntegrityError while testing

2012-02-15 Thread 赵帅
Did you delete one key or update the key to different values that was referenced by another table as foreign key. 2012/2/15 xina towner > Hello, I get this error when I try to test my app. I'm using mysql. I > think it's when django tries to delete the table. I've tried with all On > delete optio