multi inline model
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by kmtracey)
I have this in my file admin.py :
class AInLine(admin.StackedInline): model = A class BAdmin(admin.ModelAdmin): model = B inlines = [AInLine] class BInLine(admin.StackedInline): model = B class CAdmin(admin.ModelAdmin): model = C inlines = [BInLine]
In the admin interface
+ the inline model AInLine is in BAdmin form : it's correct.
+ the inline model BInLine in CAdmin form : it's correct.
But I don't have in CAdmin form the inline model AInLine, it's normal ?
Can i have multiple inline model in one form with my admin.py file ?