[Django]-Multiple tuples in unique_together

30👍

Each tuple results in a discrete UNIQUE clause being added to the CREATE TABLE query. As such, each tuple is independent and an insert will fail if any data integrity constraint is violated.

Leave a comment