исправил ошибку в урлах
This commit is contained in:
parent
c7d7068c5e
commit
168c3df32f
|
|
@ -1,5 +1,5 @@
|
|||
from django.contrib import admin
|
||||
from rest_framework.documentation import include_docs_urls
|
||||
#from rest_framework.documentation import include_docs_urls
|
||||
from django.urls import path, include
|
||||
# from api.views import AzuraNowPlayingWebhookView
|
||||
from loginApi.views import login, register
|
||||
|
|
@ -27,8 +27,8 @@ urlpatterns = [
|
|||
path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
|
||||
path('api/token/verify/', TokenVerifyView.as_view(), name='token_verify'),
|
||||
path('api/', include_docs_urls(title='API docs')),
|
||||
#path('api/', include(router.urls)),
|
||||
#path('api/', include_docs_urls(title='API docs')),
|
||||
path('api/', include(router.urls)),
|
||||
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
||||
|
||||
# path('webhook/', AzuraNowPlayingWebhookView.as_view(), name='webhook-receiver'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue