how to run manage.py in python script 3 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)