theatlantic / django-nested-admin

Django admin classes that allow for nested inlines
http://django-nested-admin.readthedocs.org/
Other
727 stars 101 forks source link

Description Field form Parent cascades and overwrites child description #220

Open osimuka opened 2 years ago

osimuka commented 2 years ago
    model = InlineModel

    description = "Inline Description"

    fields = ["name"]

    extra = 0

class ParentInlineModeInlineAdmin(nested_admin.NestedTabularInline):
    model = ParentInlineModel

    description = "Parent Description"

    extra = 0

    max_num = 3

    inlines = (InlineModeInlineAdmin,)

With this type of setup, the child inline description does not show, instead the parent description overrides