调试 uvicorn

main
RogerWork 9 months ago
parent de86232b70
commit 90b86d341d
  1. 8
      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 = [

Loading…
Cancel
Save