Opened 16 years ago
Last modified 16 years ago
#9423 closed
multi inline model — at Initial Version
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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 ?