Re: Unique_together across classes

2009-01-29 Thread Malcolm Tredinnick
hat I'm attempting to do is use unique_together across 2 classes > which are linked through their primary key fields, with the > unique_together referencing a field from each table which are not the > primary keys. > > Is it possible to use unique_together across classes like this? If &

Unique_together across classes

2009-01-29 Thread CALdan
h their primary key fields, with the unique_together referencing a field from each table which are not the primary keys. Is it possible to use unique_together across classes like this? If not, what alternative could I use that's clean and efficient? The rules that need to be adherred to wit