[Solved]-Is there a django admin widget for adding multiple foreign keys with an inline through_model


Django source code (1.8 branch here, line 254) suggests that you can add your ForeignKey to radio_fields or raw_id_fields, resulting in a different widget.

In this case, add the field name “Sound” to PlaylistMemberInline.raw_id_fields,
consider adding it to PlaylistMemberInline.radio_fields.

Leave a comment