1个回答
展开全部
from django.conf.urls import url
urlpatterns = [
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
]
urlpatterns = [
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
]
追问
我不大明白,是要照你这么写吗?还是你表达的是啥意思呢
追答
from django.conf.urls import url
from django.conf.urls import include
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^index/$',include('blog.views.index'))
]
TableDI
2024-07-18 广告
2024-07-18 广告
Excel一键自动匹配,在线免费vlookup工具,3步完成!Excel在线免费vlookup工具,点击4步自动完成vlookup匹配,无需手写公式,免费使用!...
点击进入详情页
本回答由TableDI提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询