Modify ↓
Ticket #521 (closed defect: fixed)
new models from --auto fail to respect unique_together
| Reported by: | thejash@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7.2 |
| Component: | commands | Version: | unknown |
| Keywords: | Cc: |
Description
No unique_together constraint is being created in my --auto migration for the model that is added during that migration (though unique_together seems to be working for other models that were created with --initial.)
It really seems like the code from
http://south.aeracode.org/browser/south/creator/changes.py
lines 434 to 446 should really get executed for --auto models too, not just --initial. ie, something to that effect should be added around line 142 of the same file.
Or maybe I'm missing something and that's impossible for some reason?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

You're pretty correct, there. Fixed in [4bea62b330ae].