how to use django shell

C++
$ python manage.py shell
...
>>> execfile('myscript.py')$ ./manage.py shell_plus --bpython
$ ./manage.py shell_plus --ptpython

Source

Also in C++: