这是我url 的配置
from django.urls import path
import xadmin
from django.conf.urls import url
urlpatterns = [
url(r’xadmin/’, xadmin.site.urls),
]
错误信息为:
Using the URLconf defined in dianshan1.urls, Django tried these URL patterns, in this order:
xadmin/
The empty path didn’t match any of these.
Django REST framework课程视频,RESTFul API前后端分离开发
了解课程