open project django code example
Example 1: run django app locally
python manage.py runserver
or
python3 manage.py runserver
Example 2: how to start a django project in terminal
django-admin startproject project_name
python manage.py runserver
or
python3 manage.py runserver
django-admin startproject project_name