It was missing a comma

This commit is contained in:
Daniel Stanton 2017-01-25 13:13:13 +00:00
parent f7cbbb0843
commit cddfc3d2ff

View File

@ -14,8 +14,12 @@ urlpatterns = [
url(r'^login/$', LoginView.as_view(), name='rest_login'),
# URLs that require a user to be logged in with a valid session / token.
url(r'^logout/$', LogoutView.as_view(), name='rest_logout'),
url(r'^logoutall/$' LogoutAllView.as_view(), name='rest_logout_all'),
url(r'^user/$', UserDetailsView.as_view(), name='rest_user_details'),
url(r'^password/change/$', PasswordChangeView.as_view(),
name='rest_password_change'),
]
if getattr(settings, 'REST_USE_KNOX', False):
urlpatterns.extend([
url(r'^logoutall/$', LogoutAllView.as_view(), name='rest_logout_all'),
])