1👍
Use an InlineModelAdmin:
class ItemInline(admin.StackedInline):
model = Item
class PedidoAdmin(admin.ModelAdmin):
inlines = [ItemInline]
👤sk1p
Source:stackexchange.com
1👍
Use an InlineModelAdmin:
class ItemInline(admin.StackedInline):
model = Item
class PedidoAdmin(admin.ModelAdmin):
inlines = [ItemInline]