Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description Field form Parent cascades and overwrites child description #220

Open
osimuka opened this issue May 18, 2022 · 0 comments
Open

Comments

@osimuka
Copy link

osimuka commented May 18, 2022

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant