I am wondering if it is something to do with how you have set up
your postgres database?
After
you need
pip install psycopg2
Then in local_settings.py something like
DATABASES = {
"default": {
# Ends with "postgresql_psycopg2", "mysql", "sqlite3" or
"oracle".
"ENGINE": "django.db.backends.postgresql_psycopg2",
# DB name or path to database file if using sqlite3.
"NAME": "your_database_name",
# Not used with sqlite3.
"USER": "your_database_user_name",
# Not used with sqlite3.
"PASSWORD": "your_password",
# Set to empty string for localhost. Not used with sqlite3.
"HOST": "localhost",
# Set to empty string for default. Not used with sqlite3.
"PORT": "5432",
}
}
psql
CREATE DATABASE your_database_name WITH OWNER
your_database_user_name;
python manage.py createdb
g