From 341a8b27469eb76987b20095fcb91e4b3426f688 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 29 Mar 2021 16:40:04 +0900 Subject: [PATCH] Add endpoint for auth --- app/api/urls.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/api/urls.py b/app/api/urls.py index d8fa7b1a..06edc4ea 100644 --- a/app/api/urls.py +++ b/app/api/urls.py @@ -132,10 +132,7 @@ urlpatterns = [ view=views.Health.as_view(), name='health' ), - path( - route='auth-token', - view=obtain_auth_token - ), + path('auth/', include('dj_rest_auth.urls')), path( route='me', view=views.Me.as_view(),