django:访问http://127.0.0.1:8000/不成功
就是我在运行“python manage.py runserver启动了Django开发服务器。
我访问http://127.0.0.1:8000/却不成功
结果如下:
ImportError at /
No module named {{ project_name }}.urls
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.3.1
Exception Type: ImportError
Exception Value: No module named {{ project_name }}.urls
Exception Location: D:\Python26\lib\site-packages\django\utils\importlib.py in import_module, line 35
Python Executable: D:\Python26\python.exe
Python Version: 2.6.4
Python Path: ['D:\\Python26\\django\\django\\conf\\project_template',
'C:\\WINDOWS\\system32\\python26.zip',
'D:\\Python26\\DLLs',
'D:\\Python26\\lib',
'D:\\Python26\\lib\\plat-win',
'D:\\Python26\\lib\\lib-tk',
'D:\\Python26',
'D:\\Python26\\lib\\site-packages']
Server time: Tue, 31 Jan 2012 15:45:47 +0800
请各位大虾帮帮忙啊.....