Re: ChangeManipulator for model with multi-field key (unique_together)

2006-09-18 Thread DavidA
DavidA wrote: > I have a model whose identity is defined by two fields: a foreign key > field and a boolean field. I'm trying to use a ChangeManipulator for it > but am stuck because ChangeManipulator assumes there is a single > primary key field. > > Has anyone run into this? Can someone

ChangeManipulator for model with multi-field key (unique_together)

2006-09-18 Thread DavidA
I have a model whose identity is defined by two fields: a foreign key field and a boolean field. I'm trying to use a ChangeManipulator for it but am stuck because ChangeManipulator assumes there is a single primary key field. Has anyone run into this? Can someone suggest a workaround? Thanks