Re: Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Anthony
Well, I figured it out. I needed to rerun they 'syncdb' command after making my change. Thanks for reading! On May 2, 8:49 am, Anthony wrote: > On May 2, 1:32 am, Daniel Roseman > wrote: > > > On May 2, 8:48 am, Anthony wrote: > > > My model: > > > > class Bracket(models.Model): > > >    

Re: Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Anthony
On May 2, 1:32 am, Daniel Roseman wrote: > On May 2, 8:48 am, Anthony wrote: > > My model: > > > class Bracket(models.Model): > >     m = models.ForeignKey(OtherModel) > > <- no problem with this > >     parent = models.ForeignKey('self', blank=True

Re: Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Daniel Roseman
On May 2, 8:48 am, Anthony wrote: > I'm trying to instantiate a recursive object model via the admin, but > am getting an error. > > My model: > > class Bracket(models.Model): >     m = models.ForeignKey(OtherModel) >     parent = models.ForeignKey('self', blank=True, null=True) >     name = mode

Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Anthony
I'm trying to instantiate a recursive object model via the admin, but am getting an error. My model: class Bracket(models.Model): m = models.ForeignKey(OtherModel) parent = models.ForeignKey('self', blank=True, null=True) name = models.CharField(max_length = 30) The error: Integr