Commit 0f7c7dac authored by Zack Wong's avatar Zack Wong
Browse files

approval form now take user back to overview when submitted

parent 26cd4ecf
......@@ -117,8 +117,8 @@ class MembershipApprovalAdminView(MyUpdateView):
self.admin.message_user(self.request, 'Approve success')
url = reverse(
'admin:memberdb_membership_change',
args=[ms.pk],
'admin:memberdb_membership_changelist',
args=[],
current_app=self.admin.admin_site.name,
)
return HttpResponseRedirect(url)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment