Think this may be a solution:
Models: Advice, AdviceLevel, Organisation
class Organsiation(models.Model):
title = models.CharField(max_length=150)
advice = models.ManyToManyField(Advice, through='AdviceLevel')
class AdviceLevel(models.Model):
advice = models.ForeignKey(Advice)
organisation = models.ForeignKey(Organisation)
level = models.IntegerField()
any comments?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/ff331c17-0926-483f-969e-8ede6bf412b0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.