5622f682 by 周伟奇

admin test5

1 parent d70dbe66
...@@ -72,6 +72,7 @@ class IWALoginView(IWABaseView, GenericView): ...@@ -72,6 +72,7 @@ class IWALoginView(IWABaseView, GenericView):
72 auth_login(request, data) 72 auth_login(request, data)
73 # index_path = reverse('admin:index') 73 # index_path = reverse('admin:index')
74 # return HttpResponseRedirect(index_path) 74 # return HttpResponseRedirect(index_path)
75 self.running_log.info('url: {0}'.format(settings.LOGIN_REDIRECT_URL))
75 return HttpResponseRedirect(resolve_url(settings.LOGIN_REDIRECT_URL)) 76 return HttpResponseRedirect(resolve_url(settings.LOGIN_REDIRECT_URL))
76 else: 77 else:
77 self.no_permission(data) 78 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!