[关闭]
@breakerthb 2016-10-17T07:44:05.000000Z 字数 190 阅读 1144

Django常见问题

Django


Reverse for 'home' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []

url(r'^$', article_views.home),

改成

url(r'^$', article_views.home, name='detail'),

通过别名保证view的唯一性

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注