how to django server code example Example 1: django runserver python manage.py runserver Example 2: create new django project django-admin startproject mysite