django inline
class QuestionOptions(admin.ModelAdmin):
inlines = [
ChoiceInline,#可以让ChoiceInline这个model在Question界面里显示
]
class ChoiceInline(admin.TabularInline):
........
inlines = [
ChoiceInline,#可以让ChoiceInline这个model在Question界面里显示
]
class ChoiceInline(admin.TabularInline):
........
![](http://img.zemanta.com/pixy.gif?x-id=6a7724d8-1336-8d04-94e2-4642f4146542)