5622f682 by 周伟奇

admin test5

1 parent d70dbe66
......@@ -72,6 +72,7 @@ class IWALoginView(IWABaseView, GenericView):
auth_login(request, data)
# index_path = reverse('admin:index')
# return HttpResponseRedirect(index_path)
self.running_log.info('url: {0}'.format(settings.LOGIN_REDIRECT_URL))
return HttpResponseRedirect(resolve_url(settings.LOGIN_REDIRECT_URL))
else:
self.no_permission(data)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!