Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Python Django - The Practical Guide
Getting Started
Welcome to the Course! (2:05)
What is Django? (4:58)
The Course Prerequisites (1:54)
What's Inside the Course? (3:14)
Getting the Most out of the Course (3:05)
Choose Your Course Path! (2:41)
The Academind Pro Referral Program
Course Setup
Module Introduction (1:05)
Installing Python & Django (6:25)
Creating a Django Project (2:33)
Installing an IDE (7:54)
Analyzing the Created Project (4:48)
Starting a Development Server (5:05)
Django Apps (8:19)
Analyzing the Created Project (2:27)
More Advanced Setup Steps
Useful Resources & Links
URLs & Views
Module Introduction (2:45)
Creating a New Project (5:34)
What are URLs & Views? (5:42)
Creating a First View & URL (13:27)
Adding More Views & URLs (3:11)
Dynamic Path Segments & Captured Values (9:35)
Path Converters (5:16)
Adding More Dynamic View Logic (5:20)
Redirects (8:48)
The Reverse Function & Named URLs (10:31)
Returning HTML (5:48)
Practicing URLs, Views & Dynamic View Logic (9:37)
Summary (4:43)
Useful Resources & Links
Templates & Static Files
Module Introduction (3:55)
Adding & Registering Templates (14:55)
Rendering Templates (4:16)
Template Language & Variable Interpolation (5:38)
Exercise Solution (1:56)
Filters (4:19)
The Django Visual Studio Code Extension (2:29)
Tags & the "for" Tag (8:02)
The URL Tag for Dynamic URLs (6:10)
The "if" Tag for Conditional Content (5:16)
Template Inheritance (9:38)
Exercise Solution (1:31)
Including Partial Template Snippets (9:45)
More on the Django Template Language (DTL)
404 Templates (7:08)
Adding Static Files (9:13)
Adding Global Static Files (6:24)
Adding CSS Styling (15:55)
Building Static URLs Dynamically
Summary (4:48)
Useful Resources & Links
Course Project: Building a Blog - The Basics
Module Introduction (1:13)
Setting Up the Starting Project (3:45)
Planning the Project (4:26)
Adding URLs & Views (11:16)
Adding First Templates (8:10)
Template Content & Static Files (16:11)
Adding Images as Static Files (2:58)
Adding the "All Posts" Page & Style (10:32)
Linking the Pages (4:16)
Adding the "Single Post" Page (5:39)
Adding Dummy Data to the "Views" File (4:09)
Special Template Features & Syntax (11:26)
Adding a Single Post Page (8:44)
Adding a 404 Page (1:57)
Useful Resources & Links
Data & Models
Module Introduction (2:55)
Different Kinds of Data (6:56)
Understanding Database Options (6:15)
Understanding SQL (6:38)
Django Models (1:02)
Creating a Django Model with Fields (9:44)
Migrations (6:58)
Inserting Data (4:35)
Getting all Entries (1:52)
Updating Models & Migrations (12:17)
Blank vs Null (2:42)
Updating Data (5:50)
Deleting Data (1:17)
Create Instead of Save (3:07)
Querying & Filtering Data (7:43)
"or" Conditions (4:02)
Query Performance (5:43)
Bulk Operations
Preparing Templates (7:10)
Rendering Queried Data in the Template (2:59)
Redering the Details Page (9:38)
Model URLs (4:41)
Adding a Slugfield & Overwriting Save (9:04)
Using the Slug & Updating Field Options (6:05)
Aggregation & Ordering (7:13)
Summary (3:29)
Useful Resources & Links
Admin
Module Introduction (2:14)
Logging Data Into the Admin Panel (5:28)
Adding Models to the Admin Area (3:32)
Configuring Model Fields (3:03)
Configuring the Admin Settings (6:28)
More Config Options (5:04)
Useful Resources & Links
Relationships
Module Introduction (1:52)
Understanding Relationship Types (3:04)
Adding a one-to-many Relation & Migrations (9:02)
Working with Relations in Python Code (6:29)
Cross Model Queries (8:24)
Managing Relations in Admin (5:06)
Adding a one-to-one Relation (6:42)
One-to-one Python Code (4:54)
One-to-one & Admin Config (5:23)
Setting-up many-to-many (4:44)
Using many-to-many in Python (5:18)
Many-to-many in Admin (2:20)
Circular Relations & Lazy Relations
Summary (2:37)
Useful Resources & Links
Course Project - Building a Blog: Data & Models
Module Introduction (1:57)
Planning the Data Models (4:03)
Adding a Post Model (7:36)
Author Model & one-to-many (3:06)
Tag Model many-to-many (1:22)
Registering Models for Admin (1:15)
Migrations & Admin Login (3:13)
Adding Data via Admin (6:02)
Configuring the Admin Panel (5:36)
Fetching Posts for Starting Page (6:37)
All Post & Single Post Pages (4:50)
Using Author & Tags Data (8:34)
Summary (1:40)
Useful Resources & Links
Forms
Module Introduction (1:53)
Starting Setup (4:52)
Adding a Dummy Form (4:40)
Get & Post Requests (9:59)
CSRF Protection (5:52)
Handling Form Submission & Extracting Data (9:50)
Manual Form Validation & the Problems with "that" (6:09)
Using the Django Form Class (11:04)
Validation with Django Forms (4:12)
Customizing the Form Controls (5:00)
Customizing the Rendered HTML (5:05)
Adding Styling (9:08)
Adding More Form Controls (7:37)
Storing Form Data in a Database (8:37)
Introducing Modelforms (6:39)
Configuring the Modelform (3:47)
Saving Data with a Modelform (4:28)
Class Based Views (8:41)
Summary (5:53)
Useful Resources & Links
Class Views
Module Introduction (1:07)
Adding Templates (4:21)
TemplateView (7:56)
Using the TemplateView (5:03)
Showing a Detail Template (5:06)
The ListView (6:55)
DetailView (3:48)
When to Use Which View (2:22)
FormView (6:42)
CreateView (4:47)
Useful Resources & Links
File Uploads
Module Introduction (1:21)
Starting Setup (1:24)
Making the File Upload Work (7:30)
Storing Uploaded Files Naive Approach (4:39)
Adding a Form with a Filefield (4:38)
Using Models for File Storage (8:44)
Using an Imagefield (2:19)
Using a CreateView (2:34)
Working with the File Field (5:10)
Serving Uploaded Files (6:50)
Summary (1:53)
Useful Resources & Links
Sessions
Module Introduction (0:38)
Problem Description (2:01)
What are Sessions? (3:41)
Enabling & Configuring Sessions (2:15)
Adding a New View (4:31)
Storing Data in Sessions (4:03)
Which Kind of Data Should be Stored (2:33)
Using Session Data (5:33)
Safely Accessing Session Data (1:12)
Summary (1:32)
Useful Resources & Links
Course Project: Building a Blog - Forms, Files & Sessions
Module Introduction (2:05)
Adding an Imagefield to the Post Model (6:31)
Serving Uploaded Files (6:23)
Converting Views to Class Based (14:03)
Adding a Comment Model (5:15)
Adding a Comment Form (6:01)
Styling the Comment Form (7:15)
Handling Comment Form Submission (14:06)
Comment Form Validation Styles (9:39)
Outputting Comments (5:03)
Styling the Comments (3:13)
Comment Admin (3:44)
Read Later Starting Setup (7:09)
Managing Read Later via Session (13:52)
Read Later Page & Styling (6:30)
Finishing the Read Later Feature (6:21)
Useful Resources & Links
Deployment
Module Introduction (1:29)
Deployment Considerations (5:00)
Which Database (3:52)
Django & Web Servers (4:33)
Serving Static Files (5:43)
Choosing a Hosting Provider (2:42)
Getting Started & Revisiting Settings (7:00)
Collecting Static Files (7:35)
Serving Static Files (1:52)
A Note About Migrations (1:13)
Locking in Dependencies (5:48)
Using Environment Variables (5:03)
Deploying with Elastic Beanstalk (10:42)
SSL & Custom Domains (2:57)
Connecting PostgreSQL (18:58)
Serving Static Files Separately (8:51)
Serving Static Files via S3 (17:38)
Moving File Uploads to S3 (8:26)
Summary (1:28)
Useful Resources & Links
Optional: Django Summary & Quick Introduction
Module Introduction (3:07)
What & Why? (6:00)
Setup & Analyzing the Project Folder (7:03)
Working with Apps (4:49)
URLs & Views (12:19)
Getting Started with Templates (6:54)
Static Files & First Steps with the Django Template Language (8:25)
Key Django Template Language Features & Tags (9:39)
Using What we Learned (8:53)
Adding a Detail Page (10:44)
Dynamic Paths (8:12)
Dynamic URLs in Templates (6:49)
Using Template Inheritance (12:45)
Includes (4:59)
What is Data? (3:43)
Getting Started with Models (11:12)
Using the Admin Panel (4:41)
Querying Data (7:51)
Adding Image Upload (11:38)
Serving & Displaying Images (7:02)
Configuring the Admin Area (8:26)
Setting one-to-many Relations (9:51)
many-to-many Relations (9:45)
More Meetup Fields & Outputting Related Data (7:38)
Creating a Modelform (8:21)
Handling Form Submission (10:11)
More on Form Submission & Validation (10:46)
From Modelform to Form (9:17)
Polishing Organizer Email (8:26)
Optimizing URLs (3:59)
Wrap Up (1:31)
Useful Resources & Links
Adding a Slugfield & Overwriting Save
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock