Re: Error with Meta: unique_together

2007-02-02 Thread Todd O'Bryan
Thanks a lot. That is, indeed, the problem. On Fri, 2007-02-02 at 16:31 -0300, Ramiro Morales wrote: > Todd, > > On 2/2/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > > > > I'm getting the following error when I put > > class Meta: > > unique_together = (('number', 'test'),) > > in an

Re: Error with Meta: unique_together

2007-02-02 Thread Ramiro Morales
Todd, On 2/2/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > > I'm getting the following error when I put > class Meta: > unique_together = (('number', 'test'),) > in an Answer model that refers to a Test model as a ForeignKey. > > Commenting out the Meta class clears up the problem, bu

Error with Meta: unique_together

2007-02-02 Thread Todd O'Bryan
I'm getting the following error when I put class Meta: unique_together = (('number', 'test'),) in an Answer model that refers to a Test model as a ForeignKey. Commenting out the Meta class clears up the problem, but it's a complete mystery to me. Any ideas? Todd AttributeError at /a