run manage.py django code example

Example 1: run django server

python3 manage.py runserver
or
python manage.py runserver

Example 2: manage.py

It is your tool for executing many Django-specific tasks such as
 starting a new app within a project, running the development server, 
 running your tests etc.
 Example: python manage.py runserver

Example 3: django-admin startproject

$ django-admin <command> [options]
$ manage.py <command> [options]
$ python -m django <command> [options]

Example 4: django run manage.py from python

from django.core import management
management.call_command('loaddata', 'test_data', verbosity=0)