← Back to team overview

ubuntu-accomplishments-contributors team mailing list archive

Re: django model inheritance dilemma

 

Hi Jono,

> In terms of uniqueness for Accomplishments, there should only ever be
> one application+descriptor combination

Thanks, that's pretty clear like that!

> In terms of the AccomplishmentProposal uniqueness question, I am not
> sure what you mean by it being unique?

I meant it is NOT to be unique. And that's the dilemma: how to have
unique constraint on Accomplishment but NOT on AccomplishmentProposal,
when they both inherit from the same AccomplishmentBase model.

Janos
-- 
Janos Gyerik
http://www.janosgyerik.com/


Follow ups

References