I simple grep shows that it does: ---- $ grep -R django scrapy/ scrapy/tests/test_djangoitem/models.py:from django.db import models scrapy/tests/test_djangoitem/models.py: app_label = 'test_djangoitem' scrapy/tests/test_djangoitem/__init__.py:from scrapy.contrib_exp.djangoitem import DjangoItem, Field scrapy/tests/test_djangoitem/__init__.py:os.environ['DJANGO_SETTINGS_MODULE'] = 'scrapy.tests.test_djangoitem.settings' scrapy/tests/test_djangoitem/__init__.py: import django scrapy/tests/test_djangoitem/__init__.py: django = None scrapy/tests/test_djangoitem/__init__.py:if django: scrapy/tests/test_djangoitem/__init__.py: django_model = Person scrapy/tests/test_djangoitem/__init__.py: if not django: scrapy/contrib_exp/djangoitem.py: if cls.django_model: scrapy/contrib_exp/djangoitem.py: cls._model_meta = cls.django_model._meta scrapy/contrib_exp/djangoitem.py: django_model = None scrapy/contrib_exp/djangoitem.py: model = self.django_model(**modelargs) ----
However, it might be interesting to 'suggest' it instead 'recommend' it. I'll work on this in the next release.
Cheers, Ignace M
I simple grep shows that it does: tests/test_ djangoitem/ models. py:from django.db import models tests/test_ djangoitem/ models. py: app_label = 'test_djangoitem' tests/test_ djangoitem/ __init_ _.py:from scrapy. contrib_ exp.djangoitem import DjangoItem, Field tests/test_ djangoitem/ __init_ _.py:os. environ[ 'DJANGO_ SETTINGS_ MODULE' ] = 'scrapy. tests.test_ djangoitem. settings' tests/test_ djangoitem/ __init_ _.py: import django tests/test_ djangoitem/ __init_ _.py: django = None tests/test_ djangoitem/ __init_ _.py:if django: tests/test_ djangoitem/ __init_ _.py: django_model = Person tests/test_ djangoitem/ __init_ _.py: if not django: contrib_ exp/djangoitem. py: if cls.django_model: contrib_ exp/djangoitem. py: cls._model_meta = cls.django_ model._ meta contrib_ exp/djangoitem. py: django_model = None contrib_ exp/djangoitem. py: model = self.django_ model(* *modelargs)
----
$ grep -R django scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
scrapy/
----
However, it might be interesting to 'suggest' it instead 'recommend' it. I'll work on this in the next release.
Cheers,
Ignace M