Browse Source

Merge pull request #46 from MounirMesselmeni/patch-1

Using backend name django.db.backends.postgresql
pull/10/merge
Pēteris Caune 9 years ago
parent
commit
4504925322
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