[Answered ]-Django admin: Edit fields of one-to-one model class

2👍

You need to use inlines (doc):

class InnerModelInline(admin.StackedInline):
    model = InnerModel

class OuterModelAdmin(admin.ModelAdmin):
    inlines = [InnerModelInline]

admin.site.register(OuterModel, OuterModelAdmin)

Similar question: here

Leave a comment