pydev的debug配置问题

4 views
Skip to first unread message

symbol

unread,
Dec 5, 2006, 8:04:54 AM12/5/06
to python.cn
看到 Django User列表的一段话,如下:

If you running Eclipse with PyDev you can create a file
'debugServer.py' with the following content:

import os
os.environ['DJANGO_SETTINGS_MODULE']='mysite.settings'
from django.core import management
management.runserver(addr='0.0.0.0', port='8080', use_reloader=False)


Then set up Eclipse to run/debug with that file and you can set
breakpoint etc right thru the hole process


我试着照上面的做了一下,怎么还是不行。addr='0.0.0.0'改成本地的127.0.0.1

symbol

unread,
Dec 5, 2006, 8:13:07 AM12/5/06
to python.cn
还一个如果我要改掉django验证出错的那些固定的中文字(如:*这个字段是必输项。
),在django\conf\locale\zh_CN\LC_MESSAGES\
覆盖里面的文件就可以么?
Reply all
Reply to author
Forward
0 new messages