Module 01 of 12

Foundations: Python & the Web

Lessons

About This Module

Django is a Python framework that sits on top of the web, so it helps to be comfortable with both before you write your first view. You do not need to be an expert, but you should be able to read Python code, run commands in a terminal, and picture what happens when a browser asks a server for a page.

This module covers four building blocks. You will start with core Python: data types, control flow, functions, classes, and modules. Then you will learn to isolate each project with a virtual environment and manage packages with pip, which is exactly how every Django project is set up. Next comes HTTP: requests, responses, methods, headers, and status codes, the model Django's views are built around. Finally, Git gives you version control so you can track changes, experiment safely, and later deploy your work.

Watch the lessons in order, then continue on to Django Fundamentals.

Lessons

4 videos
01

Python Crash Course

Bobby Stearman walks through Python from installation to a finished project: numbers, strings, lists, dictionaries, loops, functions, classes, error handling, and modules. This is the core Python you will read and write in every Django file.

02

Python Virtual Environments with venv & pip

Why every Django project gets its own isolated environment, how to create, activate, and deactivate one with venv, and how to install and track dependencies with pip so your setup is reproducible.

03

HTTP Crash Course & Exploration

Brad Traversy explains the request and response cycle, HTTP methods, headers, and status codes. Django is built around turning an incoming request into a response, so this is the mental model behind every view you will write.

04

Git and GitHub for Beginners: Crash Course

Gwen Faraday covers version control from the first commit to branches and pushing to GitHub, plus the terminal commands you will use daily while building and deploying Django projects.