Python论坛  - 讨论区

标题:[python-chinese] woodlog的一个"星期天"问题

2006年03月15日 星期三 17:32

风向标 vaneoooo at gmail.com
Wed Mar 15 17:32:08 HKT 2006

例如我访问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 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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年03月15日 星期三 17:34

limodou limodou at gmail.com
Wed Mar 15 17:34:31 HKT 2006

建议同步一下,这个问题应该是已经改过的。

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年03月15日 星期三 17:50

风向标 vaneoooo at gmail.com
Wed Mar 15 17:50:17 HKT 2006

现在是星期天问题变种??

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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号