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