|
|
|
@ -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 = [ |
|
|
|
|