From 90b86d341ddfa193116b77ab21054b7e71b3b077 Mon Sep 17 00:00:00 2001 From: RogerWork Date: Mon, 19 Feb 2024 12:15:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=20uvicorn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dingxin_toolbox_drf/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dingxin_toolbox_drf/urls.py b/dingxin_toolbox_drf/urls.py index b5a6aa1..a7c32f9 100644 --- a/dingxin_toolbox_drf/urls.py +++ b/dingxin_toolbox_drf/urls.py @@ -16,16 +16,16 @@ Including another URLconf """ from django.contrib import admin from django.urls import path, include -from rest_framework.documentation import include_docs_urls -from rest_framework.authtoken.views import obtain_auth_token +# from rest_framework.documentation import include_docs_urls +# from rest_framework.authtoken.views import obtain_auth_token from update import consumers urlpatterns = [ path('admin/', admin.site.urls), - path('api-token-auth/', obtain_auth_token), + # path('api-token-auth/', obtain_auth_token), path('update/', include('update.urls')), # cinema Update 备注 path('', include('mock.urls')), - path('docs/', include_docs_urls(title='接口文档')), + # path('docs/', include_docs_urls(title='接口文档')), ] websocket_urlpatterns = [