[Fixed]-Run external file via command line importing Django apps

1👍

Try to append the route of your django project to your PYTHONPATH, before you call the import.

import sys
sys.path.insert(0, '/path/to/project')
👤Zartch

Leave a comment