In Django 1.4 I am working on a small mailing app, and in the admin change page I would like to add a button called "send mailing". When the user presses the button the model should be saved first, en then redirected to a custom page to view and confirm the mailing before send.
I saw lots of snippets, custom actions etc. etc. but I cannot get it working. I have add a custom change_form.html in /templates/admin/myapp and succesfully added a button. But how do I "tell" Django to do the two actions? When I add name="_save" to the button the model is saved after pressing the custom button, but now I need a redirect to a custom page using the currect model. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_31scvnqkRsJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.