django python example

Example 1: how to start a django project

django-admin startproject project_name

Example 2: how to start a new django project

...\> django-admin startproject project_name

Example 3: quick start django

pip install Django
django-admin startproject mysite
cd mysite
python manage.py runserver

Example 4: create django project

$ django-admin startproject mysite

Example 5: create django project

$ python manage.py startapp polls

Example 6: django-admin startproject

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