Skip to content

Commit 74bdc59

Browse files
author
jinghao_wb
committed
[update]修改路由
1 parent 6fbaf2d commit 74bdc59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_blog/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
urlpatterns = [
2121
url(r'^admin/', admin.site.urls),
2222
url(r'^blog/', include('blog.urls', namespace='blog')),
23-
url(r'', views.Index)
23+
url(r'^$', views.Index)
2424
]

0 commit comments

Comments
 (0)