django manage.py shell 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: django-admin startproject
$ django-admin <command> [options]
$ manage.py <command> [options]
$ python -m django <command> [options]
Example 5: django run manage.py from python
from django.core import management
management.call_command('loaddata', 'test_data', verbosity=0)