[Fixed]-Executing a Django Shell Command from the Command Line

6👍

Not like that. But it is easy enough to write a standalone script for Django.

46👍

Pipe it 😉

echo "print('hello world')" | python manage.py shell
👤kraiz

Leave a comment