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
This commit is contained in:
Justin Bronn 2010-01-27 18:55:36 +00:00
parent 14acace029
commit 9a8449afe1
1 changed files with 0 additions and 1 deletions

View File

@ -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'],