2007年09月04日 星期二 07:00
ÀïÃæµÄÊý¾Ý£¬Ä¿Â¼Ãû×Ö£¬Ê²Ã´µÄÎÒÈ«¸Ä³É±¾µØµÄÁË¡£ÏÂÃæµÄĿ¼Ï£¬Ã÷Ã÷ÓÐsettings.py´æÔÚ¡£ÎªÊ²Ã´»¹ÌáʾÕâ¸ö´íÎóÄØ£¿¸ã²»Ã÷°×ÁË£¿ Error: Can't find the file 'settings.py' in the directory containing '/home/korobase/python/greenmachine/manage.py'. It appears you've customized things. You'll have to run django-admin.py, passing it your settings module. -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070904/0588e64f/attachment.html
2007年09月04日 星期二 08:43
On 9/4/07, boyeestudio <boyee118在gmail.com> wrote: > 里面的数据,目录名字,什么的我全改成本地的了。下面的目录下,明明有settings.py存在。为什么还提示这个错误呢?搞不明白了? > > Error: Can't find the file 'settings.py' in the directory containing > '/home/korobase/python/greenmachine/manage.py'. It appears > you've customized things. > You'll have to run django-admin.py, passing it your settings module. > 你怎么运行的,环境是什么,指目录环境.如果是通过manage.py运行,当前目录下需要有settings.py文件.看一看有没有. -- I like python! UliPad <>: http://code.google.com/p/ulipad/ My Blog: http://www.donews.net/limodou
Zeuux © 2025
京ICP备05028076号