Just add quote into your model that you do not defined yet.

On Aug 22, 12:26 am, Andy Howell <[email protected]> wrote:
>
> class Computer(models.Model):
>     name = models.CharField(max_length=80)
>     description = models.CharField(max_length=80, null=True)
>     interfaces = models.ManyToManyField(ComputerInterface)
>
     interfaces = models.ManyToManyField('ComputerInterface')

Widoyo

> class ComputerInterface(Node):
>     ipAddr = models.IPAddressField(null=True)
>     mbitsPerSec = models.IntegerField(null=True)
...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to