Modify ↓
Ticket #200 (closed defect: fixed)
Failure when parsing unique_together = ('field1', 'field2')
| Reported by: | RaceCondition <eallik@…> | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | commands | Version: | 0.5 |
| Keywords: | Cc: | eallik@… |
Description
The Django documentation specifies that:
class Meta:
unique_together = (('field1', 'field2'), )
is equivalent to:
class Meta:
unique_together = ('field1', 'field2')
but the last one causes South to fail seeing the former as:
class Meta:
unique_together = (('f', 'i', 'e', 'l', 'd', '1'), ('f', 'i', 'e', 'l', 'd', '2'), )
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Priority should have been "minor", but I accidentally pressed "Submit".