当尝试在Django中包含招摇时我遇到了这个问题:
from django.urls import path
from django.conf.urls import url
from rest_framework_swagger.views import get_swagger_view
from index import views
schema_view = get_swagger_view(title='API')
urlpatterns = [
#path('', views.index),
path('img', views.add_image),
path('valider', views.valider),
path('all', views.get_all_image),
path('docs/', schema_view),
path('<str:idd>', views.get_image),
]