forked from GithubBackups/healthchecks
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
This commit is contained in:
parent
24e370cb72
commit
3c0eeddbb7
@ -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…
x
Reference in New Issue
Block a user