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

editing nested object via TabularInline automatically published on page #6714

lukaszjagodzinski opened this issue Aug 12, 2019 · 0 comments


Copy link

commented Aug 12, 2019


Nested object used as TabluraInline on save after add new or editing automatically are published. Request goes through admin page - TabluarInline open new window with editing as admin page. Same situation happen when nested object is editied via admin page.

class CardsAdmin(admin.TabularInline):
    model = Card.card_section.through
    extra = 0

class CardsPlugin(CMSPluginBase):
    model = CardsModel
    name = __('Cards')
    inlines = (CardsAdmin, )
    render_template = 'cards.html'
    exclude = ('cards', )

    def render(self, context, instance, placeholder):
        context = super().render(context, instance, placeholder)
        context['section'] = instance
        context['cards'] ='cardcardsmodel__id')
        return context

Expected behaviour

After editing nested object, update should be change after hit publish button.


  • Python version: "3.6.8"
  • Django version: "1.11.20"
  • django CMS version: "3.4.6"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.