On 1/17/06, Jordi Funollet <[EMAIL PROTECTED]> wrote: > This restriction should be on database, shouldn't it?
I'd think this would run into compatibility problems with the various supported backends. For example, SQLite supports UNIQUE, but not FOREIGN KEY constraints (its official docs say that it parses them but doesn't enforce them). This means that, even if Django created tables with the appropriate syntax to tell the DB to enforce things, there'd be a chance that the DB wouldn't do that, so you're kind of stuck having Django enforce things for you. -- "May the forces of evil become confused on the way to your house." -- George Carlin