I am trying to hook my website up to use postgresql. I installed postgresql and psycopg2. In settings.py, I placed the following, and then got the error shown afterwards. I should mention that I tested the site with mysql before attempting to migrate to postresql.
from Settings.py:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'pdbt',
'USER': '',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '',
}
}
error:
DatabaseError at /viewer/
relation "django_session" does not exist
LINE 1: ...ession_data", "django_session"."expire_date" FROM "django_se...

./manage.py syncdb?