mirror of https://gitlab.crans.org/bde/nk20
Fix API path
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
72806f0ace
commit
40e1b42078
|
@ -48,6 +48,6 @@ app_name = 'api'
|
||||||
# Additionally, we include login URLs for the browsable API.
|
# Additionally, we include login URLs for the browsable API.
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url('^', include(router.urls)),
|
url('^', include(router.urls)),
|
||||||
url('me', UserInformationView.as_view()),
|
url('^me/', UserInformationView.as_view()),
|
||||||
url('^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
url('^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue