It looks like you've copy-pasted this from the index_together code - but there's a difference. index_together can be a list of lists. unique_together can't.