From 9a8449afe1b6d3654799c0b99fb50cd0ad63c747 Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Wed, 27 Jan 2010 18:55:36 +0000 Subject: [PATCH] Fixed #12605 -- Removed redundant import of `ImproperlyConfigured`. Thanks, tmcw. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12310 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/db/backends/spatialite/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/contrib/gis/db/backends/spatialite/base.py b/django/contrib/gis/db/backends/spatialite/base.py index a2fc47e7de..d419dab5e1 100644 --- a/django/contrib/gis/db/backends/spatialite/base.py +++ b/django/contrib/gis/db/backends/spatialite/base.py @@ -40,7 +40,6 @@ class DatabaseWrapper(SqliteDatabaseWrapper): ## The following is the same as in django.db.backends.sqlite3.base ## settings_dict = self.settings_dict if not settings_dict['NAME']: - from django.core.exceptions import ImproperlyConfigured raise ImproperlyConfigured("Please fill out the database NAME in the settings module before using the database.") kwargs = { 'database': settings_dict['NAME'],