django python shell code example
Example 1: python django shell command
$ python manage.py shell
...
>>> execfile('myscript.py')
Example 2: django shell
python manage.py shell
Example 3: django-admin startproject
$ django-admin <command> [options]
$ manage.py <command> [options]
$ python -m django <command> [options]
Example 4: how to use django shell
$ ./manage.py shell_plus --ptpython