[Answer]-How to work with Django ManyToManyField and django admin

1👍

Since you are using through argument to mentioned the intermediate table explicitly you’ll have to replace AddressInlineAdmin with

class AddressInlineAdmin(admin.StackedInline):
    model = AddressPartner_Assn
    extra = 1

Please refer to https://docs.djangoproject.com/en/1.4/ref/contrib/admin/#working-with-many-to-many-intermediary-models for any additional information

👤Rohan

Leave a comment