Become a Python Web Developer
Learning Path ⋅ Skills: Web Development, Django, Flask, FastAPI, REST APIs
Python web development opens the door to building everything from simple websites to full-featured web applications. This learning path walks you through three major Python web frameworks: FastAPI, Django, and Flask.
By completing this path, you’ll be able to:
- Build web applications using FastAPI, Django, and Flask
- Create and consume REST APIs with real-world patterns
- Manage data with Django admin and work with JSON
- Connect a JavaScript front end to a Python back end
- Send emails and handle data exchange on the web
This path is for Python developers who want to build for the web and need to choose the right framework for the job. You should be comfortable with Python basics.
You’ll start with HTML and CSS foundations, then progress through each framework with hands-on projects that grow in complexity.
Become a Python Web Developer
Learning Path ⋅ 20 Resources
Web Foundations
Start with the building blocks of the web. You’ll learn HTML and CSS from a Python developer’s perspective, then explore how web frameworks organize code using the Model-View-Controller pattern.
Course
HTML and CSS Foundations for Python Developers
There's no way around HTML and CSS when you want to build web apps. Even if you're not aiming to become a web developer, knowing the basics of HTML and CSS will help you understand the Web better. In this video course, you'll get an introduction to HTML and CSS for Python programmers.
Tutorial
Model-View-Controller (MVC) in Python Web Apps: Explained With Lego
This tutorial conceptually explains the Model-View-Controller (MVC) pattern in Python web apps using Lego bricks. Finally understand this important architecture to streamline your web development process.
Interactive Quiz
Model-View-Controller (MVC) in Python Web Apps: Explained With Lego
Building With FastAPI
Get started with FastAPI, a modern Python web framework. You’ll build web pages with HTML templates and create REST APIs.
Course
Start Building With FastAPI
Learn how to build APIs with FastAPI in Python, including Pydantic models, HTTP methods, CRUD operations, and interactive documentation.
Interactive Quiz
Get Started With FastAPI
Tutorial
How to Serve a Website With FastAPI Using HTML and Jinja2
Use FastAPI to render Jinja2 templates and serve dynamic sites with HTML, CSS, and JavaScript, then add a color picker that copies hex codes.
Interactive Quiz
How to Serve a Website With FastAPI Using HTML and Jinja2
Course
Python REST APIs With FastAPI
Learn the main concepts of FastAPI and how to use it to quickly create web APIs that implement best practices by default. By the end of it, you will be able to start creating production-ready web APIs.
Interactive Quiz
A Close Look at a FastAPI Example Application
Getting Started With Django
Learn Django, a full-featured web framework for building database-backed applications. You’ll start by building a portfolio app, then learn about migrations and more advanced Django features.
Course
Getting Started With Django: Building a Portfolio App
Learn the basics of creating powerful web applications with Django, a Python web framework. You'll build a portfolio website to showcase your web development projects, complete with a fully functioning blog.
Interactive Quiz
Get Started With Django: Build a Portfolio App
Course
Django Migrations 101
With this course you’ll get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.
Tutorial
Digging Deeper Into Django Migrations
In this step-by-step Python tutorial, you'll not only take a closer look at the new Django migrations system that is integrated into Django but also walk through the migration files themselves.
Course
Build a Location-Based Web App With Django and GeoDjango
Learn how to use Django and GeoDjango to build a location-based web application from scratch. You’ll be building a simple nearby shops application that lists the shops closest to a user’s location.
Course
Django Redirects
Learn everything you need to know about HTTP redirects in Django. All the way from the low-level details of the HTTP protocol to the high-level way of dealing with them in Django.
Django Admin and APIs
Learn how to manage users and customize Django’s admin interface. Then build HTTP APIs using Django REST Framework.
Tutorial
What You Need to Know to Manage Users in Django Admin
Learn what you need to know to manage users in Django admin. Out of the box, Django admin doesn't enforce special restrictions on the user admin. This can lead to dangerous scenarios that might compromise your system.
Course
Django Admin Customization
Learn how to customize Django's admin with Python. You'll use AdminModel objects to add display columns, calculate values, link to referring objects, and search and filter results. You'll also use template overriding to gain full control over the admin's HTML.