2006年03月15日 星期三 17:32
例如我访问http://localhost/blog/limodou/2006/03/14/9.html AttributeError at /blog/limodou/2006/03/14/9.html 'str' object has no attribute 'weekday' Request Method: GET Request URL: http://localhost/blog/limodou/2006/03/14/9.html Exception Type: AttributeError Exception Value: 'str' object has no attribute 'weekday' Exception Location: d:\python24\lib\site-packages\django- 0.91-py2.4.egg\django\utils\dateformat.py in l, line 137 1 {% load i18n blogtags utiltags config %} 2{{ object.title}}
3 {% catch as userlink %}{{ object.user.username }}{% endcatch %} 4*{% blocktrans with object.pubdate|date:"l, F jS, Y" as postdate %}*Posted by {{ userlink }} on {{ postdate }}{% endblocktrans %}
5{{ object.body|textformat:object.outputformat }}6 呵呵...想找找这个*date:"l, F jS, Y" as postdate *在哪.还是没能找到 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060315/ce0f3a1d/attachment.html
2006年03月15日 星期三 17:34
建议同步一下,这个问题应该是已经改过的。
2006年03月15日 星期三 17:50
现在是星期天问题变种?? ViewDoesNotExist at /blog/limodou/2006/03/15/2.html Could not import apps.woodlog.views. Error was: No module named manipulator Request Method: GET Request URL: http://localhost/blog/limodou/2006/03/15/2.html Exception Type: ViewDoesNotExist Exception Value: Could not import apps.woodlog.views. Error was: No module named manipulator Exception Location: d:\python24\lib\site-packages\django- 0.91-py2.4.egg\django\core\urlresolvers.py in get_callback, line 56 出现在点击单页blog内容和点击单用户页的时候 如: http://localhost/blog/limodou/ http://localhost/blog/limodou/2006/03/15/2.html 代码是刚下的,除了setting.py 其他都是新的 在06-3-15,limodou <limodou at gmail.com> 写道: > > 建议同步一下,这个问题应该是已经改过的。 > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060315/298d82b0/attachment.htm
Zeuux © 2025
京ICP备05028076号