id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux
19544,IntegrityError during Many To Many add(),German M. Bravo,nobody,"I'm frequently getting this exception (""IntegrityError: duplicate key value violates unique constraint..."") a lot in my production server when I do `add()` on a Many To Many relationship. For what I've seen, there seems to be a race condition in `django.db.models.fields.related`'s `ManyRelatedManager._add_items()` between the point `new_ids` is ""calculated"" and the point `bulk_create()` actually creates the tuples in the database. ",Cleanup/optimization,new,"Database layer (models, ORM)",1.4,Normal,,,German M. Bravo jon.dufresne@… Andrey Fedoseev Дилян Палаузов,Someday/Maybe,0,0,0,0,0,0