Browse Source

Using backend name django.db.backends.postgresql

Using new backend name which come with Django 1.9 django.db.backends.postgresql instead of django.db.backends.postgresql_psycopg2
pull/46/head
Mounir 9 years ago
parent
commit
3c0eeddbb7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/settings.py

+ 1
- 1
hc/settings.py View File

@ -93,7 +93,7 @@ DATABASES = {
if os.environ.get("DB") == "postgres": if os.environ.get("DB") == "postgres":
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'hc', 'NAME': 'hc',
'USER': 'postgres', 'USER': 'postgres',
'TEST': {'CHARSET': 'UTF8'} 'TEST': {'CHARSET': 'UTF8'}


Loading…
Cancel
Save