Ready to Start Learning?

Sign in to check if you already have access, or get started with a purchase or membership.

Try Django 3.2

Learn the fundamentals behind one of the most popular web frameworks in the world by building a real project. Django has so many features that just work out of the box: user authentication, database management, html template rending, URL routing, form data validation, and so much more.
Django is a web-framework written in Python and runs the backend for many of the internet's most popular websites such as Instagram and Pinterest.

Reference code

Recommended Experience

Try Django 3.2

Lifetime access to this course

or get access to 500+ courses with a membership

Lessons

1

Welcome

0:00

2

Demo after 73 Parts

0:00

3

Requirements

0:00

4

macOS - Python & Python Virtual Environment Setup

0:00

5

Windows - Python & Python Virtual Environment Setup

0:00

6

Setup Django Project

0:00

7

Setup Django on Visual Studio Code

0:00

8

Databases & Web Pages

0:00

9

Open, Activate, & Run Dev Server

0:00

10

Your First Web Page

0:00

11

Handling a URL Route

0:00

12

Enriching a View with Data

0:00

13

Our First Database Model

0:00

14

INSTALLED_APPS & Migrations

0:00

15

Writing & Reading Data in Python Shell

0:00

16

Rendering Data from our Database in a View

0:00

17

Django Templates Basics

0:00

18

Listing Data in Views & Templates

0:00

19

Dynamic URL Routing

0:00

20

Super Users, Staff Users, & the Django Admin

0:00

21

Register a Model in the Admin

0:00

22

Search Form & Request Data

0:00

23

Basic HTML Form

0:00

24

Create a Login View to Authenticate Users

0:00

25

Logout View

0:00

26

Creating a User Required Page

0:00

27

Basic Django Form

0:00

28

Django Model Form for Article Model

0:00

29

Register a User via Built-in Model Form

0:00

30

Login via Django AuthenticationForm

0:00

31

Environment Variables & dotenv

0:00

32

Prepare Django for DigitalOcean App Platform

0:00

33

Managing Code with Git & Github

0:00

34

Deploy to DIgitalOcean

0:00

35

Automated Testing Basics

0:00

36

Making Changes to Models & Fields

0:00

37

SlugField & Override the Save Method

0:00

38

Django pre_save & post_save signals

0:00

39

Django QuerySets & Lookups

0:00

40

Auto Generate Slugs with Recursion

0:00

41

Testing Article Model Part 1

0:00

42

Testing Article Model Part 2

0:00

43

Slugs in Dynamic Urls

0:00

44

get_absolute_url

0:00

45

Django URLs Reverse

0:00

46

Complex Search using Django Q Lookups

0:00

47

Model Managers & Custom QuerySets for Search

0:00

48

Test Article Search Manager

0:00

49

Basic Data Connection with Foreign Keys

0:00

50

User Generated Content & The Recipes App

0:00

51

Admin Inlines for Foreign Keys

0:00

52

Understanding Relationships between Models via Tests

0:00

53

Custom Validation for Unit Measurements

0:00

54

Test Custom Model Validation

0:00

55

Auto Set Quantity as a Float

0:00

56

Use Pint to Convert Units

0:00

57

CRUD Views for Recipe Model

0:00

58

Django urls, includes, and app_name

0:00

59

CRUD Templates for the Recipes App

0:00

60

Django 2 Forms, 1 View

0:00

61

Manage QuerySets with Django Formsets and modelformset_factory

0:00

62

Customizing Form Fields, Widgets, Placeholders, & CSS Classes

0:00

63

Rendering Form Fields & More in Templates

0:00

64

Dynamic New Forms in a Django Formset via JavaScript

0:00

65

Dynamic New Forms in Django Formset via HTMX

0:00

66

HTMX, JavaScript & Django Fixtures

0:00

67

HMTX & JavaScript Working Together

0:00

68

The HTMX Approach to Editing QuerySets

0:00

69

Auto Save with HTMX & Django

0:00

70

HTMX Response Header

0:00

71

HTMX Typeahead & Search in Django

0:00

72

Model Object Delete View in Django

0:00

73

Deleting Objects with HTMX

0:00

74

Static Files in Development

0:00

75

Static Files in Production with DigitalOcean Spaces

0:00

76

Upload Images in Django Models

0:00

77

View for Handling File or Image Uploads

0:00

78

Uploading Files with Django & HTMX

0:00

79

Microservice API for Text Extraction

0:00

80

Deploy Django to Do App Platform via doctl CLI

0:00

81

CI & CD For Django + Github + DigitalOcean

0:00

82

Automating Collectstatic with Github Actions

0:00

83

Parsing OCR Microservice Results

0:00

84

Microservice to Database

0:00

85

Adding Bootstrap & the tip of the Bootstrap Iceberg

0:00

86

Creating the Meal Queue

0:00

87

Toggle Recipes into Meal Queue & Test

0:00

88

Meal Queue Toggle View

0:00

89

Calculate Meal Queue Ingredient Totals

0:00

90

Calculation Function & Custom Signals

0:00

91

Requesting Inventory From Meal Queue Actions

0:00

92

Next

0:00