2006年04月21日 星期五 23:31
我现在正在学习这个东东, 按你写的Django Step by step上说的,但我在浏览器中打开那个helloworld.py,出现以下的BEDUG信息: ViewDoesNotExist at / Could not import newtest.helloworld. Error was: No module named http Request Method: GET Request URL: http://127.0.0.1:8000/ Exception Type: ViewDoesNotExist Exception Value: Could not import newtest.helloworld. Error was: No module named http Exception Location: c:\develop tools\python24\lib\site-packages\django- 0.91-py2.4.egg\django\core\urlresolvers.py in get_callback, line 55后面还有一大堆的。 为什么会没有http模块呢?我还应该安装什么?请指点一下,先谢谢了! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060421/83d68b44/attachment.html
2006年04月22日 星期六 07:43
On 4/21/06, boyeestudio <boyee118 at gmail.com> wrote: > > 我现在正在学习这个东东, > 按你写的Django Step by step上说的,但我在浏览器中打开那个helloworld.py,出现以下的BEDUG信息: > > ViewDoesNotExist at / > Could not import newtest.helloworld. Error was: No module named http > Request Method: GET > Request URL: http://127.0.0.1:8000/ > Exception Type: ViewDoesNotExist > Exception Value: Could not import newtest.helloworld. Error was: No module named http > Exception Location: c:\develop tools\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\urlresolvers.py in get_callback, line 55后面还有一大堆的。 > 为什么会没有http模块呢?我还应该安装什么?请指点一下,先谢谢了! > 我的教程是m-r分枝的,不是0.91版,你的版本不对。 教程上有如何获得m-r分枝。 -- I like python! My Blog: http://www.donews.net/limodou My Django Site: http://www.djangocn.org NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年04月22日 星期六 10:05
还是没搞定!再次求助! 我的教程是m-r分枝的,不是0.91版,你的版本不对。 什么是m_r分技啊, 教程上有如何获得m-r分枝。 没找到啊,大哥,给个地址,谢谢! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060422/589889c7/attachment.html
2006年04月22日 星期六 14:28
在SVN中下载 地址在:http://code.djangoproject.com/svn/django/branches/magic-removal 在06-4-22,boyeestudio <boyee118 at gmail.com> 写道: > > > 还是没搞定!再次求助! > > 我的教程是m-r分枝的,不是0.91版,你的版本不对。 > > > 什么是m_r分技啊, > > 教程上有如何获得m-r分枝。 > > > 没找到啊,大哥,给个地址,谢谢! > > > > > > > _______________________________________________ > 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/20060422/222d327e/attachment-0001.htm
2006年04月22日 星期六 22:22
多谢,三生感激!:) 在06-4-22,风向标 <vaneoooo at gmail.com> 写道: > > > > 在SVN中下载 > 地址在:http://code.djangoproject.com/svn/django/branches/magic-removal > > > > 在06-4-22,boyeestudio <boyee118 at gmail.com> 写道: > > > > > 还是没搞定!再次求助! > > 我的教程是m-r分枝的,不是0.91版,你的版本不对。 > > > 什么是m_r分技啊, > > 教程上有如何获得m-r分枝。 > > > 没找到啊,大哥,给个地址,谢谢! > > > > > > > _______________________________________________ > 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 > > > > > _______________________________________________ > 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/20060422/f8d95ce8/attachment-0001.html
2006年04月22日 星期六 22:37
boyeestudio 写道: > 我现在正在学习这个东东, > 按你写的Django Step by step上说的,但我在浏览器中打开那个 > helloworld.py,出现以下的BEDUG信息: > > > ViewDoesNotExist at / > > > Could not import newtest.helloworld. Error was: No module named http > > Request Method: GET > Request URL: http://127.0.0.1:8000/ > Exception Type: ViewDoesNotExist > Exception Value: Could not import newtest.helloworld. Error was: No > module named http > Exception Location: c:\develop > tools\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\urlresolvers.py > in get_callback, line 55 > > 后面还有一大堆的。 > 为什么会没有http模块呢?我还应该安装什么?请指点一下,先谢谢了! > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Note 在 0.92 版之前, HttpResponse 是从 django.utils.httpwrappers 导入的。在 0.92 版之后对许多 Django 模块都做了简化。具体可以参考: NamespaceSimplification <http://code.djangoproject.com/wiki/NamespaceSimplification> 文档。
2006年04月22日 星期六 22:51
搞了几个小时,终于搞定了,现在才发现,第二次问的那些问题,我是多么无知! 不过,还是很感谢,在python-chinese中问的问题,会有朋友来帮助,虽然问题很菜! 在06-4-22,聪明的傻瓜 <wmjie.cn at gmail.com> 写道: > > boyeestudio 写道: > > 我现在正在学习这个东东, > > 按你写的Django Step by step上说的,但我在浏览器中打开那个 > > helloworld.py,出现以下的BEDUG信息: > > > > > > ViewDoesNotExist at / > > > > > > Could not import newtest.helloworld. Error was: No module named http > > > > Request Method: GET > > Request URL: http://127.0.0.1:8000/ > > Exception Type: ViewDoesNotExist > > Exception Value: Could not import newtest.helloworld. Error was: No > > module named http > > Exception Location: c:\develop > > tools\python24\lib\site-packages\django- > 0.91-py2.4.egg\django\core\urlresolvers.py > > in get_callback, line 55 > > > > 后面还有一大堆的。 > > 为什么会没有http模块呢?我还应该安装什么?请指点一下,先谢谢了! > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > Note > > 在 0.92 版之前, HttpResponse 是从 django.utils.httpwrappers 导入的。在 > 0.92 版之后对许多 Django 模块都做了简化。具体可以参考: > NamespaceSimplification > <http://code.djangoproject.com/wiki/NamespaceSimplification> 文档。 > > > > _______________________________________________ > 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/20060422/4e950444/attachment.htm
Zeuux © 2025
京ICP备05028076号