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]
Source:stackexchange.com