Skip to content
Snippets Groups Projects
Commit 48ac47f9 authored by Ben Adida's avatar Ben Adida
Browse files

go back to dbpool

parent 12307104
No related branches found
No related tags found
No related merge requests found
......@@ -45,8 +45,8 @@ SOUTH_DATABASE_ADAPTERS = {'default':'south.db.postgresql_psycopg2'}
if get_from_env('DATABASE_URL', None):
import dj_database_url
DATABASES['default'] = dj_database_url.config()
DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
# DATABASES['default']['OPTIONS'] = {'MAX_CONNS': 1}
DATABASES['default']['ENGINE'] = 'dbpool.db.backends.postgresql_psycopg2'
DATABASES['default']['OPTIONS'] = {'MAX_CONNS': 1}
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment