python runserver code example

Example 1: starting server in django

# to start a django server cd to dir with manage.py file and type following
python manage.py runserver

Example 2: django runserver

python manage.py runserver

Example 3: run django server

python3 manage.py runserver
or
python manage.py runserver

Example 4: start django project

django-admin startproject <//name of project\\>

Example 5: django-admin startproject

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

Example 6: How to add manage.py in python3.8.5

$ python manage.py runserver