1

I am having a link on the parent admin page. When I clicks on the link, an editable django admin popup page opens. After updating the details, When I clicks on the Save button, details are saved. But the requirement is to close that popup after clicking on Save button.

My editable admin Django model looks like below

@admin.register(SellOwnership)
class SellOwnershipAdmin(admin.ModelAdmin):

      list_display = ("sell", "owner", "amount")
      list_editable = ("amount")

Kindle advise how to achieve to close the popup while clicking on save button. Thanks.

AzyCrw4282
  • 7,222
  • 5
  • 19
  • 35
Earth
  • 3,477
  • 6
  • 37
  • 78

1 Answers1

0

I don't think you can achieve your intended functionality without overriding the Django Admin Interface.

The latter seems like the only possible way around this, you should see the answers here on how you can go about doing this for your case- How to override and extend basic Django admin templates

AzyCrw4282
  • 7,222
  • 5
  • 19
  • 35