MODULE 17 · ADVANCED

Web Development with Flask and DjangoPython · Module 17

Start with a minimal Flask service, then build a full-stack Django app with models, migrations, views, templates, forms, and a tested request/response boundary.

4 lessons16 min readingConnect, test, and ship2 projects
Free, self-paced, and open to everyone. No account needed.
WHAT THIS MODULE COVERS

Web Development with Flask and Django

Start with a minimal Flask service, then build a full-stack Django app with models, migrations, views, templates, forms, and a tested request/response boundary.

BEFORE YOU START

Functions, classes, JSON, HTTP basics, and tests.

WHAT YOU’LL BE ABLE TO DO

Build a minimal Flask JSON service, then a full-stack Django app with models, migrations, views, templates, forms, and a tested request/response boundary.

THE LESSON SEQUENCE

Read in order, or jump to what you need.

Every lesson builds on the one before it. Open any lesson to read the explanation, run the examples, and try the practice challenges.

  1. 17.01
    Project: A Flask micro web appProject

    Build a small Flask JSON service with an app factory, validated requests, honest status codes, and tests that never start a live server.

    4 min
  2. 17.02
    Django Fundamentals

    Create a Django project and app, model data with migrations, and connect requests to views and templates.

    4 min
  3. 17.03
    Templates and Forms

    Build consistent pages with template inheritance, validate user input with forms, and handle POST requests without losing errors.

    4 min
  4. 17.04
    Project: A Django Blog ApplicationProject

    Build a Django blog with a Post model, migrations, public pages, an authenticated create form, and tests that keep drafts private.

    4 min
MODULE SELF-CHECK

Ready to move on?

Ship a tested Flask endpoint, then a Django app with a model, CRUD views, template inheritance, form validation, and draft privacy tests.

Open the module self-check