Extend to Append

This commit is contained in:
Daniel Stanton 2017-01-25 15:43:26 +00:00
parent cb3c859919
commit 89dd206128

View File

@ -21,6 +21,6 @@ urlpatterns = [
]
if getattr(settings, 'REST_USE_KNOX', False):
urlpatterns.extend([
url(r'^logoutall/$', LogoutAllView.as_view(), name='rest_logout_all'),
])
urlpatterns.append(
url(r'^logoutall/$', LogoutAllView.as_view(), name='rest_logout_all')
)