From 0037ca44d6981d65aaa9115aa242b25c06b49219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Mon, 29 Aug 2011 17:28:15 +0000 Subject: [PATCH] Forgotten import in [16708] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16709 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/backends/postgresql_psycopg2/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py index aaf6262038..4e8268bf13 100644 --- a/django/db/backends/postgresql_psycopg2/base.py +++ b/django/db/backends/postgresql_psycopg2/base.py @@ -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)