Merge branch 'master' of git.flexites.org:Students/ITRadio

This commit is contained in:
Mike0001-droid 2024-05-31 15:58:23 +05:00
commit 672cc19759
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
from django.contrib import admin 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 django.urls import path, include
# from api.views import AzuraNowPlayingWebhookView # from api.views import AzuraNowPlayingWebhookView
from loginApi.views import login, register from loginApi.views import login, register
@ -27,8 +27,8 @@ urlpatterns = [
path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'), path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'), path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
path('api/token/verify/', TokenVerifyView.as_view(), name='token_verify'), path('api/token/verify/', TokenVerifyView.as_view(), name='token_verify'),
path('api/', include_docs_urls(title='API docs')), #path('api/', include_docs_urls(title='API docs')),
#path('api/', include(router.urls)), path('api/', include(router.urls)),
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')), path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
# path('webhook/', AzuraNowPlayingWebhookView.as_view(), name='webhook-receiver'), # path('webhook/', AzuraNowPlayingWebhookView.as_view(), name='webhook-receiver'),