django shell $ code example
Example 1: python django shell command
$ python manage.py shell
...
>>> execfile('myscript.py')
Example 2: how to use django shell
$ ./manage.py shell_plus --ptpython
$ python manage.py shell
...
>>> execfile('myscript.py')
$ ./manage.py shell_plus --ptpython