It sounds like you want to specify a custom many-to-many relationship table using the manytomany.through option. Check out https://docs.djangoproject.com/en/dev/topics/db/models/#intermediary-manytomany for an example.
On Sep 9, 12:10 am, jollyroger <[email protected]> wrote: > Hi. > > Can someone please tell, what kind of relations is required to store > user's membership in multiple groups to be able to recover: > > 1. history of user participation in some groups (date joined, date > quit) > 2. list of current user groups (in join order) to determine his > current status > 3. list of users, who were participating in that group at a given > period of time > > I guess it is ManyToMany (or an ugly kind of OneToMany), but can't > decide how to implement it; need a minimal example in Django. > > And what kind of database consistency problems should be expected at > deleting some group/user? -- 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.

