Delete confirmation screen is not appending while doing delete action using custom delete action for inactive records from listing screen.
Is this a bug?
Delete confirmation screen is not appending while doing delete action using custom delete action for inactive records from listing screen.
Is this a bug?
Clarify your templates, what are you trying to do for which page there isn’t much you have provided like
What is this? like a page? or a Modal pop up?. Share your particular template where you are implementing this.
That confirmation screen isn’t something “automatic”. The Django admin delete action sends the confirmation page as the response to that action. Take a look at how that works in django.contrib.admin.actions
.
If you want the confirmation page to be used, you need to do something similar to what it’s doing.