这是堆栈跟踪:
ImportError at /admin/
No module named Cricket.getdate
Request Method: GET
Request URL: http://cricket.debugger.pk/admin/
Django Version: 1.3.1
Exception Type: ImportError
Exception Value:
No module named Cricket.getdate
Exception Location: /home/yousuf/webapps/cricket/myproject/Cricket/models.py in <module>, line 3
Python Executable: /usr/local/bin/python
Python Version: 2.7.1
Python Path:
['/home/yousuf/webapps/cricket',
'/home/yousuf/webapps/cricket/lib/python2.7',
'/home/yousuf/lib/python2.7/pip-1.1-py2.7.egg',
'/home/yousuf/lib/python2.7',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/site-packages/PIL']
Server time: Tue, 21 Feb 2012 15:49:04 -0600
但是我的getdate.py
文件就在cricket文件夹中,并且在我的本地计算机上运行正常。
可能出现什么问题?