1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00

Forgotten import in [16708]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Honza Král 2011-08-29 17:28:15 +00:00
parent 7c657b2416
commit 0037ca44d6

View File

@ -19,6 +19,7 @@ from django.utils.log import getLogger
try:
import psycopg2 as Database
import psycopg2.extensions
import psycopg2.Error
except ImportError, e:
from django.core.exceptions import ImproperlyConfigured
raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)