Hi I'm having problems with multiple ManyToMany relationships between two models. I don't see all the methods I expect for navigating between them. I'm using revision 698, checked out a few days ago.
Here are the models: from django.core import meta class Group(meta.Model): name = meta.CharField(maxlength=20, unique=True) class User(meta.Model): name = meta.CharField(maxlength=20) groups = meta.ManyToManyField(Group, blank=True, related_name='member', singular='group_membership', verbose_name='Group memberships') groups_owned = meta.ManyToManyField(Group, blank=True, related_name='owner', singular='group_ownership', verbose_name='Group ownerships') And here are the objects that I get from them (with special members stripped out): >>> from django.models.demo import * >>> dir(groups.Group(name='cheese makers')) ['_meta', 'delete', 'get_member', 'get_member_count', 'get_member_list', 'id', 'name', 'save', 'set_users'] >>> dir(users.User(name='bob')) ['_meta', 'delete', 'get_group_membership_list', 'get_group_ownership_list', 'id', 'name', 'save', 'set_groups', 'set_groups_owned'] The User object provides the methods that I'd expect, but Group doesn't. I'd expect get_owner, get_owner_count and get_owner_list in addition to the get_member_*. Also I'd expect to see set_owners and set_members instead of the single set_users. Any idea what the problem is here? Should I raise a bug ticket? Thanks Ben