Skip to content

Commit 619ab8d

Browse files
committed
添加上传功能
1 parent 37137ce commit 619ab8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blog/urls.py

+1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@
3232
url(r'^category/(?P<category_name>\S+).html$', views.CategoryDetailView.as_view(), name='category_detail'),
3333
url(r'^author/(?P<author_name>\w+).html$', views.AuthorDetailView.as_view(), name='author_detail'),
3434
url(r'^tag/(?P<tag_name>.+).html$', views.TagDetailView.as_view(), name='tag_detail'),
35+
url(r'^upload', views.fileupload, name='upload'),
3536
]

0 commit comments

Comments
 (0)