我得到了:
ImportError at /
No module named threadedcomments_extras
Request Method: GET
Request URL: http://stornge.com:8000/
Django Version: 1.5
Exception Type: ImportError
Exception Value:
No module named threadedcomments_extras
Exception Location: /home/jonathan/virtual_environment/local/lib/python2.7/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable: /home/jonathan/virtual_environment/bin/python
Python Version: 2.7.3
Python Path:
['/home/jonathan/clay/apps',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/pinax/apps',
'/home/jonathan/clay',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
'/home/jonathan/virtual_environment/lib/python2.7',
'/home/jonathan/virtual_environment/lib/python2.7/plat-linux2',
'/home/jonathan/virtual_environment/lib/python2.7/lib-tk',
'/home/jonathan/virtual_environment/lib/python2.7/lib-old',
'/home/jonathan/virtual_environment/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/PIL']
Server time: Mon, 25 Mar 2013 13:59:14 -0400
媒体/应用程序目录中的某些内容对我来说就像是一个Django应用程序:
(virtual_environment)jonathan@li393-189:~/clay$ find . | grep -i threadedcomments
./media/apps/threadedcomments_extras
./media/apps/threadedcomments_extras/__init__.pyc
./media/apps/threadedcomments_extras/templatetags
./media/apps/threadedcomments_extras/templatetags/comments_tag.pyc
./media/apps/threadedcomments_extras/templatetags/comments_tag.py
./media/apps/threadedcomments_extras/templatetags/__init__.pyc
./media/apps/threadedcomments_extras/templatetags/__init__.py
./media/apps/threadedcomments_extras/__init__.py
./media/projects/intranet_project/templates/threadedcomments
./media/projects/intranet_project/templates/threadedcomments/comments.html
./media/templates/default/threadedcomments
./media/templates/default/threadedcomments/comments.html
(virtual_environment)jonathan@li393-189:~/clay$
但是,将媒体应用程序复制到./apps/会立即杀死工作线程。所以在settings.py中注释掉'threadedcomments_extras'。
如何安装和运行threadscomments_extras,或者删除所有对threadscomments_extras的期望?
谢谢,