[Fixed]-Access django models in scrapy with split settings

1👍

You miss to add pythonpath in scrapy to django project

# Setting up django's project full path.
import sys
sys.path.insert(0, '/home/zartch/Projects/Scrapy-Django/myweb')

You are appending to path BASE_DIR (/Project/myapp/apps/myscraping), You need to add only /Project

👤Zartch

Leave a comment