Python论坛  - 讨论区

标题:[python-chinese] 向limodou大哥请教一下django问题!

2006年04月21日 星期五 23:31

boyeestudio boyee118 at gmail.com
Fri Apr 21 23:31:33 HKT 2006

我现在正在学习这个东东,
按你写的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

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

2006年04月22日 星期六 07:43

limodou limodou at gmail.com
Sat Apr 22 07:43:53 HKT 2006

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

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

2006年04月22日 星期六 10:05

boyeestudio boyee118 at gmail.com
Sat Apr 22 10:05:45 HKT 2006

还是没搞定!再次求助!

我的教程是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

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

2006年04月22日 星期六 14:28

风向标 vaneoooo at gmail.com
Sat Apr 22 14:28:21 HKT 2006

在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

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

2006年04月22日 星期六 22:22

boyeestudio boyee118 at gmail.com
Sat Apr 22 22:22:21 HKT 2006

多谢,三生感激!:)

在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

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

2006年04月22日 星期六 22:37

聪明的傻瓜 wmjie.cn at gmail.com
Sat Apr 22 22:37:55 HKT 2006

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> 文档。




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

2006年04月22日 星期六 22:51

boyeestudio boyee118 at gmail.com
Sat Apr 22 22:51:05 HKT 2006

搞了几个小时,终于搞定了,现在才发现,第二次问的那些问题,我是多么无知!
不过,还是很感谢,在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

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号