diff --git a/scrapy/tests/test_djangoitem/settings.py b/scrapy/tests/test_djangoitem/settings.py index 6ece9ee7a..e3300db9d 100644 --- a/scrapy/tests/test_djangoitem/settings.py +++ b/scrapy/tests/test_djangoitem/settings.py @@ -1,2 +1,6 @@ -DATABASE_ENGINE = 'sqlite3' -DATABASE_NAME = ':memory:' +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': ':memory:', + } +}