django use manage.py shell code example
Example: django run manage.py from python
from django.core import management
management.call_command('loaddata', 'test_data', verbosity=0)
from django.core import management
management.call_command('loaddata', 'test_data', verbosity=0)