Re: How to Create Real Foreign Keys

2008-10-01 Thread Chris Spencer
Yep, that was it. Thanks for the insight. On Wed, Oct 1, 2008 at 10:14 AM, Erik Allik <[EMAIL PROTECTED]> wrote: > > Are you using the MyISAM or InnoDB storage type? MyISAM does not > support integrity constraints, afaik. > > Erik > > On 01.10.2008, at 16:44, Chris wrote: > >> >> I'm running MySQ

Re: How to Create Real Foreign Keys

2008-10-01 Thread bruno desthuilliers
On 1 oct, 15:44, Chris <[EMAIL PROTECTED]> wrote: > I'm running MySQL as my backend, and I've noticed Django doesn't > create "real" foreign keys for the ForeignKey column. Just indexes. Is > this by design, or am I somehow misusing ForeignKey()? > I found http://code.djangoproject.com/ticket/5729

Re: How to Create Real Foreign Keys

2008-10-01 Thread Erik Allik
Are you using the MyISAM or InnoDB storage type? MyISAM does not support integrity constraints, afaik. Erik On 01.10.2008, at 16:44, Chris wrote: > > I'm running MySQL as my backend, and I've noticed Django doesn't > create "real" foreign keys for the ForeignKey column. Just indexes. Is > thi