[Answered ]-Django admin – Add button for ForeignKey in inline

2👍

raw_id_field is what you’re looking for:

class BuyersAdmin(admin.ModelAdmin):
    raw_id_fields = ("association",)
👤ptrck

Leave a comment