All pastes #68603 Raw Edit

whitehatme

public text v1 · immutable
#68603 ·published 2006-06-21 21:01 UTC
rendered paste body
@localhost:~/myproject$ python manage.py runserver
Validating models...
Unhandled exception in thread started by <function inner_run at 0x4066c224>
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/management.py", line 757, in inner_run
    validate()
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/management.py", line 741, in validate
    num_errors = get_validation_errors(outfile)
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/management.py", line 634, in get_validation_errors
    import django.models
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/models/__init__.py", line 1, in ?
    from django.core import meta
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/__init__.py", line 3, in ?
    from django.core import db
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/db/__init__.py", line 23, in ?
    raise ImproperlyConfigured, "Could not load database backend: %s. Is your DATABASE_ENGINE setting (currently, %r) spelled correctly? Available options are: %s" % \
django.core.exceptions.ImproperlyConfigured: Could not load database backend: No module named psycopg. Is your DATABASE_ENGINE setting (currently, 'postgresql') spelled correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql', 'sqlite3'