=== modified file 'django/db/__init__.py'
|
|
|
12 | 12 | # For backwards compatibility - Port any old database settings over to |
13 | 13 | # the new values. |
14 | 14 | if not settings.DATABASES: |
15 | | import warnings |
16 | | warnings.warn( |
17 | | "settings.DATABASE_* is deprecated; use settings.DATABASES instead.", |
18 | | DeprecationWarning |
19 | | ) |
| 15 | if settings.DATABASE_ENGINE: |
| 16 | import warnings |
| 17 | warnings.warn( |
| 18 | "settings.DATABASE_* is deprecated; use settings.DATABASES instead.", |
| 19 | DeprecationWarning |
| 20 | ) |
20 | 21 | |
21 | 22 | settings.DATABASES[DEFAULT_DB_ALIAS] = { |
22 | 23 | 'ENGINE': settings.DATABASE_ENGINE, |