SyntaxFix
Write A Post
Hire A Developer
Questions
Other way it's execute this one:
echo 'execfile("/path_to/myscript.py")' | python manage.py shell --settings=config.base
This is working on Python2.7 and Django1.9