Hi
I got name error in my models when using models.ManyToManyField
Here are my models
class Ank(models.Model):
route = models.ManyToManyField(Dek)
intercity = models.BooleanField()
class Dek(models.Model):
ank = models.ManyToManyField(Ank)
How come I got "NameError: name 'Dek' is not defined" when running
runserver
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---