Install Django & Build Your First Django Project (2026)

The easiest and fastest Django beginner guide for Windows users.

Before You Begin: Python Must Be Installed

Django requires Python. If you see these errors:

python is not recognized
pip is not recognized

Your Python is missing or PATH is not set.

πŸ‘‰ Install Python correctly using this full step-by-step guide:
Install Python – Beginner Guide

  • Install Python (latest version)
  • Check β€œAdd Python to PATH” βœ”
  • Verify installation with: python --version
  • Fix errors easily with the guide
What You Will Learn in This Tutorial
  • Check Python & pip installation
  • Install Django using pip
  • Create your first Django project
  • Understand core Django files
  • Run Django server on localhost
  • Fix common setup errors

Video Tutorial

Step 1: Check Python & Pip

Run this in CMD:

python --version
pip --version

If version numbers appear β†’ You're ready.

Step 2: Install Django

Install Django globally or inside a virtual environment.

pip install django

Verify Django installation:

django-admin --version

Step 3: Create Your Django Project

Navigate to Desktop:

cd Desktop

Create project named dproject:

django-admin startproject dproject
cd dproject

Project files include:

  • manage.py – Django command tool
  • settings.py – Project configuration
  • urls.py – Routing
  • wsgi/asgi – Server interface

Step 4: Run Django Server

python manage.py runserver

Open in browser:

http://127.0.0.1:8000/

You should see the Django success page πŸŽ‰