python manage.py 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: python django shell command

$ python manage.py shell
...
>>> execfile('myscript.py')

Example 3: django runserver

python manage.py runserver

Example 4: run django server

python3 manage.py runserver
or
python manage.py runserver

Example 5: 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 6: what is 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.