Hi. I wrote an intemediary model like this one: http://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships
########################## models.py ############################# from django.db import models class Person(models.Model): name = models.CharField(max_length=128) class Group(models.Model): name = models.CharField(max_length=128) members = models.ManyToManyField(Person, through='Membership') class Membership(models.Model): person = models.ForeignKey(Person) group = models.ForeignKey(Group) invite_reason = models.CharField(max_length=64) ########################## admin.py ############################# from django.contrib import admin from intermediary_test.models import Person, Group, Membership class MembershipInline(admin.TabularInline): model = Membership extra = 1 class GroupAdmin(admin.ModelAdmin): inlines = (MembershipInline,) admin.site.register(Person) admin.site.register(Group, GroupAdmin) ################################################################## The problem is that by the admin interface I can't add more than two persons in a group (adding them by ``save and continue editing''). Here's what happens when I try to add another person: http://www.nanoelectronic.net/temp/intermediary.png I don't have any problem adding more than two persons in a group by shell instead. Any suggestion? Thanks in advance, -- Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---