Ticket #12605: ImproperlyConfigured_bug.diff
File ImproperlyConfigured_bug.diff, 611 bytes (added by , 15 years ago) |
---|
-
base.py
38 38 ## The following is the same as in django.db.backends.sqlite3.base ## 39 39 settings_dict = self.settings_dict 40 40 if not settings_dict['NAME']: 41 from django.core.exceptions import ImproperlyConfigured42 41 raise ImproperlyConfigured("Please fill out the database NAME in the settings module before using the database.") 43 42 kwargs = { 44 43 'database': settings_dict['NAME'],