Re: Parent_link=True causes Cannot assign None: "Business.id" does not allow null values.

2009-02-11 Thread phoebebright
Karen, Spot on! Changed field name to directory and all is well. Thanks so much. Phoebe. On Feb 11, 8:57 pm, Karen Tracey wrote: > On Wed, Feb 11, 2009 at 3:19 PM, phoebebright > wrote: > > > > > Karen, > > > Have done a stripped down version

Re: Parent_link=True causes Cannot assign None: "Business.id" does not allow null values.

2009-02-11 Thread Karen Tracey
On Wed, Feb 11, 2009 at 3:19 PM, phoebebright wrote: > > Karen, > > Have done a stripped down version and still getting the error so put > the requested code here: http://dpaste.com/119483/ and > http://dpaste.com/119486/. > > using Django version 1.1 pre-alpha, > >

Re: Parent_link=True causes Cannot assign None: "Business.id" does not allow null values.

2009-02-11 Thread phoebebright
Karen, Have done a stripped down version and still getting the error so put the requested code here: http://dpaste.com/119483/ and http://dpaste.com/119486/. using Django version 1.1 pre-alpha, Thanks for your interest! Have to finish this tonight. Phoebe. On Feb 11, 7:30 pm, Karen Tracey

Re: Parent_link=True causes Cannot assign None: "Business.id" does not allow null values.

2009-02-11 Thread Karen Tracey
On Wed, Feb 11, 2009 at 1:36 PM, phoebebright wrote: > > I am following the instructions at the bottom of this page > > http://docs.djangoproject.com/en/dev/topics/db/models/#inheritance-and-reverse-relations > and here >

Parent_link=True causes Cannot assign None: "Business.id" does not allow null values.

2009-02-11 Thread phoebebright
I am following the instructions at the bottom of this page http://docs.djangoproject.com/en/dev/topics/db/models/#inheritance-and-reverse-relations and here http://docs.djangoproject.com/en/dev/ref/models/fields/#onetoonefield I have a parent class Directory and a child classes Business, Tourism