Hello,
Let say I have 3 models: A, B and C with the following relations.
A can have many B and many C.
B can have many C
Is the following correct:
class A(models.Model):
...
class B(models.Model):
...
a = models.ForeignKey(A)
class C(models.Model):
...
a = models.ForeignKey(A)
b = models.ForeignKey(B)
Or is there a more efficient way of doing this ?