How can I redirect a user to different app on Save?
I have two app, say app1 and app2. If a user clicks on Save in app2 then it should be redirected to app1 rather then the default page.
app1
app2
I don't want to do a customform.
def change_view(self, request, object_id,extra_context=None):
result = super(mymodeladmin, self).change_view(request, object_id, extra_context) result['Location'] = "your location" return result