Django / FastAPI · Build a working foundation
Six sequenced labs covering the framework’s core workflow, input boundaries, failure handling and a practical extension. Each includes code, expected behavior and a review checklist.
Prerequisite: Python functions, dictionaries, exceptions and basic HTTP. · 195 minutes of guided study
6 published lessons, from first principles to a small project.
Start first lesson →What you’ll be able to do
- Django URL patterns and views
- Django models and database constraints
- Django forms, CSRF and server validation
- FastAPI request and response models
- FastAPI dependencies and cleanup
- Project · Test API behavior through HTTP
How to study this course
Follow the numbered modules. Read the example, explain why it works, attempt the exercise, then compare your result with the supplied checks.
Setup: Use separate Python virtual environments. Django examples target Django 5.2 in a django-admin startproject learning project with a courses app. FastAPI examples use pip install fastapi uvicorn httpx pytest and uvicorn main:app --reload.
Times estimate guided reading and practice. Projects and revision can take longer.