[Answer]-Django related classes in the same admin screen

1👍

Use an InlineModelAdmin:

class ItemInline(admin.StackedInline):
    model = Item

class PedidoAdmin(admin.ModelAdmin):
    inlines = [ItemInline]
👤sk1p

Leave a comment