[Answered ]-Movie cast with characters in Django

1👍

Yes, you can create a TabularInline [Django-doc] for the Cast:

class CastInline(admin.TabularInline):
    model = Cast

and then inject that into the ModelAdmin for the Movie:

class MovieAdmin(admin.ModelAdmin):
    # …
    inlines = [CastInline]

Leave a comment