python - Django IntegrityError -


I have a small project that I'm working on. I am writing a DJenga database to keep some data. I have a lot of people

I am using my own manager and am adding ways for the committee. I have one that connects various tasks to the users in the list. These items can be assigned to many people and so on.

When I do this, I am getting a Integrity error , what is the main reason? I'm getting the correct error

... items_id can not be tapped

I appreciate the answer to fix it. There is an explanation about how this exception is thrown. I have been asked to catch it. But I do not dabble like those things until they should be there.

Please thank you!

What I need to do is clear my database to a python manage. Py sqlflush everything was fine right afterwards, then I added South to help with migration in the future.

I will give careful advice because sqlflush will return your database back to the last sync_b status.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -