阅读背景:

Django AttributeError Model对象没有属性'filter'

来源:互联网 

I'm trying to do my own blog using Django. I have a view to show an article which is extended from DetailView. To avoid any trouble with slugs, I'm trying to classify the articles with its date of publication. The url for an article is like so (where pk correspond to the slug of the article):I'm trying to do my own blog using Django. I ha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: