Scrapy, a fast high-level web crawling & scraping framework for Python.
add django to test requirements and fix test_djangoitem for modern django versions
Mikhail Korobov2105ec58eb63
diff --git a/.travis/requirements-latest.txt b/.travis/requirements-latest.txtindex 585968196..15dd8936f 100644--- a/.travis/requirements-latest.txt+++ b/.travis/requirements-latest.txt@@ -3,3 +3,4 @@ lxmltwistedbotoPillow+djangodiff --git a/.travis/requirements-precise.txt b/.travis/requirements-precise.txtindex 276f7523b..625708aa2 100644--- a/.travis/requirements-precise.txt+++ b/.travis/requirements-precise.txt@@ -4,3 +4,4 @@ lxml==2.3.2twisted==11.1.0boto==2.2.2Pillow<2.0+django==1.3.1diff --git a/scrapy/tests/test_djangoitem/settings.py b/scrapy/tests/test_djangoitem/settings.pyindex e3300db9d..1bee92477 100644--- a/scrapy/tests/test_djangoitem/settings.py+++ b/scrapy/tests/test_djangoitem/settings.py@@ -4,3 +4,5 @@ DATABASES = {'NAME': ':memory:',}}++SECRET_KEY = 'top-secret'