how to create project in django code example

Example 1: how to start a django project

django-admin startproject project_name

Example 2: start new app in django

$ python manage.py startapp app_name

Example 3: django runserver

python manage.py runserver

Example 4: create new 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]