I would like to use the django contrib.admin pages to edit my models, but call individual change page from my own views, an then return there after user clicks ‘save’.
Ideally this should happen by appending the return URL to the admin page’s url (as in ‘…?_return_url=)
Any hints?
django.contrib.admin.options.ModelAdminobjects have aresponse_changemethod which you can override in a subclass to determine the response which should be returned after an object has been successfully saved – you could override this to return an appropriateHttpResponseRedirectfor the object which was just saved.