[Answered ]-How to make Django admin shows OneToMany instead of ForeignKey

2👍

Yes, use the inline model admin:

class DiferencialItemInline(admin.TabularInline):
    model = DiferencialItem

class DiferencialAdmin(admin.ModelAdmin):
    inlines = [DiferencialItemInline]

Leave a comment