Django nested inlines not working?
问题 I've installed django-nested-inline but I have problems. Here's my code: from django.contrib import admin from nested_inline.admin import NestedStackedInline, NestedModelAdmin from .models import Positive, Negative, Option, Question class PositiveInline(NestedStackedInline): model = Positive class NegativeInline(NestedStackedInline): model = Negative class OptionInline(NestedStackedInline): model = Option inlines = [PositiveInline, NegativeInline,] class QuestionAdmin(NestedModelAdmin):