0
我一直在使用這個catchall在我的urls.py中,但當然它不會在django 1.5中工作。如果不知道它是django 1.5中的名稱,我可以直接轉到模板嗎?在版本1.5中使用通配符的Django direct_to_template
# go straight to any urls ending in .html
(r'(.+\.html)$', 'django.views.generic.simple.direct_to_template'),
完美,感謝馬克。 – PhoebeB