Basics

Base environment setup

Simply install the Django package.

$ python -m pip install Django

Creating a project

$ django-admin startproject <your project name>

Creating an app inside a project

A django project is usually split into multiple components, i.e. apps.

Your django project should have the python file manage.py on project root.

$ python manage.py startapp <your app name>