title: Custom confirm screen when saving an object in my Django project?
body: <p>I am looking to create a custom confirm screen in Django when saving an object. (Add/update)</p>
  <p>I have been able to achieve this using the Media class in the admin class by specifying custom JavaScript that would use <code>window.confirm()</code>, however, this looks quite unprofessional.</p>
  <pre><code>    class Media:
          js = ('confirmation_popup.js',)
  </code></pre>
  <p>I have been trying to create a similar screen to the delete confirm that Django offers.</p>
  <p>I have created an Html template to use for the screen. I have overridden the <code>response_change</code> admin method to redirect to this template on post. But the problem is that the model saves before it gets to the response change so no matter what the outcome of the confirm the model has already been saved.</p>
  <p>So my question at hand is it possible to redirect a model admin page before a save, then redirect back after the confirm?</p>
  <p>If not, how can I go about creating a confirm screen for saving a model?</p>
  <p>I am using Django v3.1.* so I cannot use <a href="https://pypi.org/project/django-admin-confirm/" rel="nofollow noreferrer">https://pypi.org/project/django-admin-confirm/</a> . I have tried before and the admin-confirm screen does not work.</p>