убрал урл старой реги

This commit is contained in:
Mike0001-droid 2024-06-04 15:11:18 +05:00
parent e28e26964b
commit 2fc1978d64
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ 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
from rest_framework_simplejwt.views import ( from rest_framework_simplejwt.views import (
TokenObtainPairView, TokenObtainPairView,
TokenRefreshView, TokenRefreshView,
@ -34,8 +34,8 @@ urlpatterns = [
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')), path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
path('api/user/', include('account.urls', namespace='user')), path('api/user/', include('account.urls', namespace='user')),
# path('webhook/', AzuraNowPlayingWebhookView.as_view(), name='webhook-receiver'), # path('webhook/', AzuraNowPlayingWebhookView.as_view(), name='webhook-receiver'),
path('api/login/', login, name='login'), """ path('api/login/', login, name='login'),
path('api/register/', register, name='register'), path('api/register/', register, name='register'), """
] ]
if settings.DEBUG: if settings.DEBUG: