I'm no guru, Im stuck also with some many-to-many features.
1.- why whould you need a 3rd table if you are not using attributes
in the relationship? (Variant).
2.- have you tried to add an models.AutoField(primary=True) to your
model Variant ? I knew django does that if no is specified in ord
Hi there,
I am still pretty new to django and just trying to figure out how it
is all supposed to work.
I have the following models:
*models.py:
class Char(models.Model):
char = models.CharField(max_length=10)
variants = models.ManyToManyField("self", symmetrical=False,
through="Varian
2 matches
Mail list logo