下载django_example

打开urls.py加入

(r'^(.*?".html)$', 'django.views.static.serve',{'document_root':'./'}),

注意 (.*?".html)这个部分必须加()不然是不行的

相关文章: