Python Django The Practical Guide

Learn how to build web applications and websites with Python and the Django framework
Python Django The Practical Guide
File Size :
11.15 GB
Total length :
23h 6m



Academind by Maximilian Schwarzmüller


Last update

Last updated 11/2022



Python Django The Practical Guide

What you’ll learn

Learn how to use Python for web development with Django
Build real projects and apply what you learned in a full blog website created in the course
Choose between the full course or the included course summary to get you started quickly

Python Django The Practical Guide


Basic Python and web development knowledge (HTML/ CSS) is required
NO prior Django experience is required at all


Python is the most popular programming language of the world – it’s versatile, easy to learn and very powerful!We already got a Python course which you can take if you want to learn Python.But one of the primary things you can build with Python is a website! You can use Python for web development.And to make that easier, you would typically use a framework like Django – simply because that allows you to focus on your core business logic and you don’t need to re-invent the wheel and implement all the nitty-gritty technical details from scratch.And this course is about Django – the most popular Python web development framework out there!Django covers all aspects of web development – from handling requests and responses, over rendering dynamic HTML pages with templates, all the way up to making database access and data management easy. It’s all baked in and it’s all covered in great detail in this course!This course teaches Django from the ground up – you don’t need to know anything about it to get started. Basic Python and web development knowledge is all you need.We’ll start at the absolute basics and understand how to create Django project, how to run them and how to add features – step by step.In detail, this course covers:Installing DjangoCreating and understanding Django projectsUnderstanding URLs, views, requests and responsesWorking with templates and static files like CSS and imagesWorking with data and modelsConnecting data with relationships (one-to-many, one-to-one, many-to-many)Querying data with Django’s powerful model solutionAdding administration panels to your projectsHandling user input with forms – manually and with Django’s built-in form supportAdvanced features like class-based views (and when to use them)Dealing with file uploads and how to serve uploaded filesWorking with sessionsIn-depth deployment instructions and examplesDifferent ways of deploying and serving static files and user uploadsAnd much more!All those concepts are taught in great depth and backed up by a complete example course project where we build a “Blog website” from the ground up.Therefore, you’ll learn all the important concepts and the theory and you’re also going to be able to see it applied to a real project.Hence, once you completed the course, you’ll have a very solid understanding of Django and you’ll be able to dive into your own Django projects!


Section 1: Getting Started

Lecture 1 Introduction

Lecture 2 What is Django?

Lecture 3 The Course Prerequisites

Lecture 4 What’s Inside the Course?

Lecture 5 Join Our Learning Community!

Lecture 6 Getting the Most out of the Course

Lecture 7 Choose Your Course Path!

Section 2: Course Setup

Lecture 8 Module Introduction

Lecture 9 Installing Python & Django

Lecture 10 Creating a Django Project

Lecture 11 Installing an IDE

Lecture 12 Analyzing the Created Project

Lecture 13 Starting a Development Server

Lecture 14 Django Apps

Lecture 15 Analyzing the Created Project

Lecture 16 More Advanced Setup Steps

Lecture 17 Useful Resources & Links

Section 3: URLs & Views

Lecture 18 Module Introduction

Lecture 19 Creating a New Project

Lecture 20 What are URLs & Views?

Lecture 21 Creating a First View & URL

Lecture 22 Adding More Views & URLs

Lecture 23 Dynamic Path Segments & Captured Values

Lecture 24 Path Converters

Lecture 25 Adding More Dynamic View Logic

Lecture 26 Redirects

Lecture 27 The Reverse Function & Named URLs

Lecture 28 Returning HTML

Lecture 29 Practicing URLs, Views & Dynamic View Logic

Lecture 30 Summary

Lecture 31 Useful Resources & Links

Section 4: Templates & Static Files

Lecture 32 Module Introduction

Lecture 33 Adding & Registering Templates

Lecture 34 Rendering Templates

Lecture 35 Template Language & Variable Interpolation

Lecture 36 Exercise Solution

Lecture 37 Filters

Lecture 38 The Django Visual Studio Code Extension

Lecture 39 Tags & the “for” Tag

Lecture 40 The URL Tag for Dynamic URLs

Lecture 41 The “if” Tag for Conditional Content

Lecture 42 Template Inheritance

Lecture 43 Exercise Solution

Lecture 44 Including Partial Template Snippets

Lecture 45 More on the Django Template Language (DTL)

Lecture 46 404 Templates

Lecture 47 Adding Static Files

Lecture 48 Adding Global Static Files

Lecture 49 Adding CSS Styling

Lecture 50 Building Static URLs Dynamically

Lecture 51 Summary

Lecture 52 Useful Resources & Links

Section 5: Course Project: Building a Blog – The Basics

Lecture 53 Module Introduction

Lecture 54 Setting Up the Starting Project

Lecture 55 Planning the Project

Lecture 56 Adding URLs & Views

Lecture 57 Adding First Templates

Lecture 58 Template Content & Static Files

Lecture 59 Adding Images as Static Files

Lecture 60 Adding the “All Posts” Page & Style

Lecture 61 Linking the Pages

Lecture 62 Adding the “Single Post” Page

Lecture 63 Adding Dummy Data to the “Views” File

Lecture 64 Special Template Features & Syntax

Lecture 65 Adding a Single Post Page

Lecture 66 Adding a 404 Page

Lecture 67 Useful Resources & Links

Section 6: Data & Models

Lecture 68 Module Introduction

Lecture 69 Different Kinds of Data

Lecture 70 Understanding Database Options

Lecture 71 Understanding SQL

Lecture 72 Django Models

Lecture 73 Creating a Django Model with Fields

Lecture 74 Migrations

Lecture 75 Inserting Data

Lecture 76 Getting all Entries

Lecture 77 Updating Models & Migrations

Lecture 78 Blank vs Null

Lecture 79 Updating Data

Lecture 80 Deleting Data

Lecture 81 Create Instead of Save

Lecture 82 Querying & Filtering Data

Lecture 83 “or” Conditions

Lecture 84 Query Performance

Lecture 85 Bulk Operations

Lecture 86 Preparing Templates

Lecture 87 Rendering Queried Data in the Template

Lecture 88 Rendering the Details Page

Lecture 89 Model URLs

Lecture 90 Adding a Slugfield & Overwriting Save

Lecture 91 Using the Slug & Updating Field Options

Lecture 92 Aggregation & Ordering

Lecture 93 Summary

Lecture 94 Useful Resources & Links

Section 7: Admin

Lecture 95 Module Introduction

Lecture 96 Logging Data Into the Admin Panel

Lecture 97 Adding Models to the Admin Area

Lecture 98 Configuring Model Fields

Lecture 99 Configuring the Admin Settings

Lecture 100 More Config Options

Lecture 101 Useful Resources & Links

Section 8: Relationships

Lecture 102 Module Introduction

Lecture 103 Understanding Relationship Types

Lecture 104 Adding a one-to-many Relation & Migrations

Lecture 105 Working with Relations in Python Code

Lecture 106 Cross Model Queries

Lecture 107 Managing Relations in Admin

Lecture 108 Adding a one-to-one Relation

Lecture 109 One-to-one Python Code

Lecture 110 One-to-one & Admin Config

Lecture 111 Setting-up many-to-many

Lecture 112 Using many-to-many in Python

Lecture 113 Many-to-many in Admin

Lecture 114 Circular Relations & Lazy Relations

Lecture 115 Summary

Lecture 116 Useful Resources & Links

Section 9: Course Project – Building a Blog: Data & Models

Lecture 117 Module Introduction

Lecture 118 Planning the Data Models

Lecture 119 Adding a Post Model

Lecture 120 Author Model & one-to-many

Lecture 121 Tag Model many-to-many

Lecture 122 Registering Models for Admin

Lecture 123 Migrations & Admin Login

Lecture 124 Adding Data via Admin

Lecture 125 Configuring the Admin Panel

Lecture 126 Fetching Posts for Starting Page

Lecture 127 All Post & Single Post Pages

Lecture 128 Using Author & Tags Data

Lecture 129 Summary

Lecture 130 Useful Resources & Links

Section 10: Forms

Lecture 131 Module Introduction

Lecture 132 Starting Setup

Lecture 133 Adding a Dummy Form

Lecture 134 Get & Post Requests

Lecture 135 CSRF Protection

Lecture 136 Handling Form Submission & Extracting Data

Lecture 137 Manual Form Validation & the Problems with “that”

Lecture 138 Using the Django Form Class

Lecture 139 Validation with Django Forms

Lecture 140 Customizing the Form Controls

Lecture 141 Customizing the Rendered HTML

Lecture 142 Adding Styling

Lecture 143 Adding More Form Controls

Lecture 144 Storing Form Data in a Database

Lecture 145 Introducing Modelforms

Lecture 146 Configuring the Modelform

Lecture 147 Saving Data with a Modelform

Lecture 148 Class Based Views

Lecture 149 Summary

Lecture 150 Useful Resources & Links

Section 11: Class Views

Lecture 151 Module Introduction

Lecture 152 Adding Templates

Lecture 153 TemplateView

Lecture 154 Using the TemplateView

Lecture 155 Showing a Detail Template

Lecture 156 The ListView

Lecture 157 DetailView

Lecture 158 When to Use Which View

Lecture 159 FormView

Lecture 160 CreateView

Lecture 161 Useful Resources & Links

Section 12: File Uploads

Lecture 162 Module Introduction

Lecture 163 Starting Setup

Lecture 164 Making the File Upload Work

Lecture 165 Storing Uploaded Files Naive Approach

Lecture 166 Adding a Form with a Filefield

Lecture 167 Using Models for File Storage

Lecture 168 Using an Imagefield

Lecture 169 Using a CreateView

Lecture 170 Working with the File Field

Lecture 171 Serving Uploaded Files

Lecture 172 Summary

Lecture 173 Useful Resources & Links

Section 13: Sessions

Lecture 174 Module Introduction

Lecture 175 Problem Description

Lecture 176 What are Sessions?

Lecture 177 Enabling & Configuring Sessions

Lecture 178 Adding a New View

Lecture 179 Storing Data in Sessions

Lecture 180 Which Kind of Data Should be Stored

Lecture 181 Using Session Data

Lecture 182 Safely Accessing Session Data

Lecture 183 Summary

Lecture 184 Useful Resources & Links

Section 14: Course Project: Building a Blog – Forms, Files & Sessions

Lecture 185 Module Introduction

Lecture 186 Adding an Imagefield to the Post Model

Lecture 187 Serving Uploaded Files

Lecture 188 Converting Views to Class Based

Lecture 189 Adding a Comment Model

Lecture 190 Adding a Comment Form

Lecture 191 Styling the Comment Form

Lecture 192 Handling Comment Form Submission

Lecture 193 Comment Form Validation Styles

Lecture 194 Outputting Comments

Lecture 195 Styling the Comments

Lecture 196 Comment Admin

Lecture 197 Read Later Starting Setup

Lecture 198 Managing Read Later via Session

Lecture 199 Read Later Page & Styling

Lecture 200 Finishing the Read Later Feature

Lecture 201 Useful Resources & Links

Section 15: Deployment

Lecture 202 Module Introduction

Lecture 203 Deployment Considerations

Lecture 204 Which Database

Lecture 205 Django & Web Servers

Lecture 206 Serving Static Files

Lecture 207 Choosing a Hosting Provider

Lecture 208 Getting Started & Revisiting Settings

Lecture 209 Collecting Static Files

Lecture 210 Serving Static Files

Lecture 211 A Note About Migrations

Lecture 212 Locking in Dependencies

Lecture 213 More on Virtual Environments

Lecture 214 Using Environment Variables

Lecture 215 Deploying with Elastic Beanstalk

Lecture 216 SSL & Custom Domains

Lecture 217 Connecting PostgreSQL

Lecture 218 Serving Static Files Separately

Lecture 219 Serving Static Files via S3

Lecture 220 Moving File Uploads to S3

Lecture 221 Summary

Lecture 222 Useful Resources & Links

Section 16: Optional: Django Summary & Quick Introduction

Lecture 223 Module Introduction

Lecture 224 What & Why?

Lecture 225 Setup & Analyzing the Project Folder

Lecture 226 Working with Apps

Lecture 227 URLs & Views

Lecture 228 Getting Started with Templates

Lecture 229 Static Files & First Steps with the Django Template Language

Lecture 230 Key Django Template Language Features & Tags

Lecture 231 Using What we Learned

Lecture 232 Adding a Detail Page

Lecture 233 Dynamic Paths

Lecture 234 Dynamic URLs in Templates

Lecture 235 Using Template Inheritance

Lecture 236 Includes

Lecture 237 What is Data?

Lecture 238 Getting Started with Models

Lecture 239 Using the Admin Panel

Lecture 240 Querying Data

Lecture 241 Adding Image Upload

Lecture 242 Serving & Displaying Images

Lecture 243 Configuring the Admin Area

Lecture 244 Setting one-to-many Relations

Lecture 245 many-to-many Relations

Lecture 246 More Meetup Fields & Outputting Related Data

Lecture 247 Creating a Modelform

Lecture 248 Handling Form Submission

Lecture 249 More on Form Submission & Validation

Lecture 250 From Modelform to Form

Lecture 251 Polishing Organizer Email

Lecture 252 Optimizing URLs

Lecture 253 Wrap Up

Lecture 254 Useful Resources & Links

Section 17: Bonus

Lecture 255 Course Roundup

Lecture 256 Bonus!

Python developers who want to take the next step and dive into web development with Python,JavaScript developers who want to explore Python for web development,Everyone interested in learning how to build websites with Python

Course Information:

Udemy | English | 23h 6m | 11.15 GB
Created by: Academind by Maximilian Schwarzmüller

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top