I'm getting:
ImportError at /
No module named tribes.models
Request Method: GET
Request URL: http://stornge.com:8000/
Django Version: 1.5
Exception Type: ImportError
Exception Value:
No module named tribes.models
Exception Location: /home/jonathan/clay/apps/tribes/admin.py in <module>, line 3
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 14:57:41 -0400
It's not finding tribes. But the tribes app appears in the first entry on the Python path:
(virtual_environment)jonathan@li393-189:~/clay/apps/tribes$ ls -l
total 68
-rw-rw-r-- 1 jonathan jonathan 215 Mar 25 15:05 admin.py
-rw-rw-r-- 1 jonathan jonathan 580 Mar 25 18:55 admin.pyc
drwxrwxr-x 2 jonathan jonathan 4096 Mar 25 15:05 fixtures
-rw-rw-r-- 1 jonathan jonathan 1561 Mar 25 15:05 forms.py
-rwxrwxr-x 1 jonathan jonathan 0 Mar 25 15:05 __init__.py
-rw-rw-r-- 1 jonathan jonathan 130 Mar 25 15:05 __init__.pyc
drwxrwxr-x 11 jonathan jonathan 4096 Mar 25 15:05 locale
-rw-rw-r-- 1 jonathan jonathan 904 Mar 25 15:05 management.py
-rw-rw-r-- 1 jonathan jonathan 1221 Mar 25 17:14 management.pyc
drwxrwxr-x 3 jonathan jonathan 4096 Mar 25 15:05 media
-rwxrwxr-x 1 jonathan jonathan 539 Mar 25 15:05 models.py
-rw-rw-r-- 1 jonathan jonathan 1177 Mar 25 15:05 models.pyc
drwxrwxr-x 3 jonathan jonathan 4096 Mar 25 15:05 templates
drwxrwxr-x 2 jonathan jonathan 4096 Mar 25 15:05 templatetags
drwxrwxr-x 2 jonathan jonathan 4096 Mar 25 15:05 tests
-rw-rw-r-- 1 jonathan jonathan 865 Mar 25 15:05 urls.py
-rwxrwxr-x 1 jonathan jonathan 5693 Mar 25 15:05 views.py
(virtual_environment)jonathan@li393-189:~/clay/apps/tribes$
How can I get apps/tribes to be recognized as providing tribes.models?
Christos Jonathan Hayward, an Orthodox Christian author. Amazon • Author Bio • Email • Facebook • Fan Page • Google Plus • LinkedIn • Professional • Twitter • Web • What's New? If you read just one of my books, you'll want The Best of Jonathan's Corner.
|