Skip to content
Browse files

Forgotten import in [16708]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 7c657b2 commit 0037ca44d6981d65aaa9115aa242b25c06b49219 @HonzaKral HonzaKral committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/db/backends/postgresql_psycopg2/base.py
View
1 django/db/backends/postgresql_psycopg2/base.py
@@ -19,6 +19,7 @@
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)

0 comments on commit 0037ca4

Please sign in to comment.
Something went wrong with that request. Please try again.