Enable postgres on prod server.

(imported from commit 4cf25c4ffe685dcfeb8d6c87ade3fcca7a92a807)
This commit is contained in:
Tim Abbott 2012-12-15 08:42:12 -05:00
parent 15c83127ee
commit 35226c352d
1 changed files with 1 additions and 8 deletions

View File

@ -32,7 +32,7 @@ DATABASES = {
},
}
if STAGING_DEPLOYED or platform.node() == 'postgres.humbughq.com':
if DEPLOYED:
DATABASES["default"] = {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'humbug',
@ -56,13 +56,6 @@ if STAGING_DEPLOYED or platform.node() == 'postgres.humbughq.com':
'sslmode': 'verify-ca',
},
}
elif DEPLOYED:
DATABASES['default'] = {
'ENGINE': 'django.db.backends.mysql',
'OPTIONS': {
'read_default_file': '/etc/mysql/my.cnf',
},
}
elif False:
DATABASES["default"] = {
'ENGINE': 'django.db.backends.postgresql_psycopg2',