Using Django\'s built in models, how would one create a triple-join between three models.
For example:
I'd model Role as an association class between Users and Roles, thus,
class User(models.Model):
...
class Event(models.Model):
...
class Role(models.Model):
user = models.ForeignKey(User)
event = models.ForeignKey(Event)
And enforce the one role per user per event in either a manager or SQL constraints.