mirror of https://github.com/django/django.git
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:
parent
14acace029
commit
9a8449afe1
|
@ -40,7 +40,6 @@ class DatabaseWrapper(SqliteDatabaseWrapper):
|
||||||
## The following is the same as in django.db.backends.sqlite3.base ##
|
## The following is the same as in django.db.backends.sqlite3.base ##
|
||||||
settings_dict = self.settings_dict
|
settings_dict = self.settings_dict
|
||||||
if not settings_dict['NAME']:
|
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.")
|
raise ImproperlyConfigured("Please fill out the database NAME in the settings module before using the database.")
|
||||||
kwargs = {
|
kwargs = {
|
||||||
'database': settings_dict['NAME'],
|
'database': settings_dict['NAME'],
|
||||||
|
|
Loading…
Reference in New Issue