I'm getting the following error message when running "python manage.py
runserver"
Validating models...
Unhandled exception in thread started by <function inner_run at
0x608c70>
Traceback (most recent call last):
File "/opt/local/lib/python2.5/site-packages/django/django/core/
management/commands/runserver.py", line 47, in inner_run
self.validate(display_num_errors=True)
File "/opt/local/lib/python2.5/site-packages/django/django/core/
management/base.py", line 112, in validate
num_errors = get_validation_errors(s, app)
File "/opt/local/lib/python2.5/site-packages/django/django/core/
management/validation.py", line 22, in get_validation_errors
from django.db import models, connection
File "/opt/local/lib/python2.5/site-packages/django/django/db/
__init__.py", line 23, in <module>
backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {},
[''])
ImportError: No module named base
This is my environment:
Mac OSX 10.5
Python 2.5.1 (located at /opt/local/lib/python2.5)
Django 0.97-pre-SVN-7020 (located at /opt/local/lib/python2.5/site-
packages/django)
PATH = /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/
usr/local/bin:/usr/X11/bin (in ~/.profile)
PYTHONPATH = /opt/local/lib/python2.5/site-packages/django (in
~/.profile)
DATABASE_ENGINE is set to 'sqlite3' in my project's settings.py. I
have verified that the file /opt/local/lib/python2.5/site-packages/
django/django/db/backends/sqlite3/base.py exists, but for some reason
it can't be found.
Any ideas?
Thanks,
Chris Pratt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---