updating logout flow
@@ -22,7 +22,7 @@ urlpatterns = [
# login and logout endpoints
url(r'^accounts/login/$', auth_views.LoginView.as_view(), name="login"),
- url(r'^accounts/logout/$', auth_views.LogoutView.as_view(), name="logout"),
+ url(r'^accounts/logout/$', auth_views.LogoutView.as_view(), {'next_page': '/'}, name="logout"),
# non xapi endpoints
url(r'^hooks/(?P<hook_id>.{36})$', views.hook, name='hook'),
