From 3c0eeddbb745ec643d43ade14de6172b3000d025 Mon Sep 17 00:00:00 2001 From: Mounir Date: Thu, 18 Feb 2016 15:21:55 +0100 Subject: [PATCH] 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 --- hc/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/settings.py b/hc/settings.py index fe435b60..feeec279 100644 --- a/hc/settings.py +++ b/hc/settings.py @@ -93,7 +93,7 @@ DATABASES = { if os.environ.get("DB") == "postgres": DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'hc', 'USER': 'postgres', 'TEST': {'CHARSET': 'UTF8'}