Curso do Academind Pro
Python Django - The Practical Guide
Learn how to build web applications and websites with Python and the Django framework
- 16 seções · 253 aulas
- 23 h no total
Sobre este curso
You already know Python, but turning that knowledge into a real website can feel like hitting a wall: too many moving parts, too much boilerplate, and it’s unclear what “the right way” looks like. You want to build something dynamic—not just scripts—and you don’t want to stitch everything together from scratch.
In this course, you’ll use Django to get a clear, step-by-step path from an empty folder to a working web app. You’ll see how the pieces fit together as you add features incrementally, with explanations that connect what you write to what the framework is doing for you.
By the end, you’ll be able to create and run your own Django projects confidently, build pages that display and manage data, accept user input, and ship a working site to a production environment. You’ll also have a complete blog website you can reference when starting your next project.
O que você vai aprender
You’ll work through Django’s full request-to-response workflow, then extend it with data models, forms, admin tooling, and deployment patterns used in real projects.
- 01
Build Django projects
Create Django projects from scratch, run them locally, and add new features step by step so you always know where code belongs and how the app is structured.
- 02
Route requests to views
Set up URLs and implement views that handle requests and return responses, so you can control what happens for each page and endpoint in your application.
- 03
Render pages with templates
Produce dynamic HTML using Django templates and correctly include static files like CSS and images, so your pages are both data-driven and properly styled.
- 04
Model and query data
Define models, create relationships (one-to-many, one-to-one, many-to-many), and query data with Django’s model solution to power real data management features.
- 05
Handle input and sessions
Accept and validate user input with forms (manually and with Django’s built-in form support) and use sessions to keep state across requests when your app needs it.
- 06
Ship with advanced features
Decide when to use class-based views, add administration panels, handle file uploads, and deploy with practical guidance—including options for serving static files and user uploads.
Pré-requisitos
Basic Python knowledge is required.
Basic web development knowledge (HTML/CSS) is required.
No prior Django experience is required.
Para quem é este curso
Python developers
You’re comfortable writing Python and want your next step to be building real websites. This course gives you a structured way to move into web development without guessing how everything connects.
JavaScript developers
You’ve built for the web before, but you want to explore Python for web development. This course helps you translate your web instincts into a Django-based workflow quickly.
Aspiring web builders
You’re motivated to build websites with Python and want a guided path that results in a finished, working site you can learn from and build on after the course.
Conteúdo do curso
Confira a estrutura e o ritmo deste curso antes de começar.
1Getting Started7 aulas · 18 min
- 01Welcome to the Course!2:05 min
- 02What is Django?4:58 min
- 03The Course Prerequisites1:54 min
- 04What's Inside the Course?3:14 min
- 05Getting the Most out of the Course3:05 min
- 06Choose Your Course Path!2:41 min
- 07The Academind Pro Referral Program0:00 min
2Course Setup10 aulas · 39 min
- 01Module Introduction1:05 min
- 02Installing Python & Django6:25 min
- 03Creating a Django Project2:33 min
- 04Installing an IDE7:54 min
- 05Analyzing the Created Project4:48 min
- 06Starting a Development Server5:05 min
- 07Django Apps8:19 min
- 08Analyzing the Created Project2:27 min
- 09More Advanced Setup Steps0:00 min
- 10Useful Resources & Links0:00 min
3URLs & Views14 aulas · 1 h e 30 min
- 01Module Introduction2:45 min
- 02Creating a New Project5:34 min
- 03What are URLs & Views?5:42 min
- 04Creating a First View & URL13:27 min
- 05Adding More Views & URLs3:11 min
- 06Dynamic Path Segments & Captured Values9:35 min
- 07Path Converters5:16 min
- 08Adding More Dynamic View Logic5:20 min
- 09Redirects8:48 min
- 10The Reverse Function & Named URLs10:31 min
- 11Returning HTML5:48 min
- 12Practicing URLs, Views & Dynamic View Logic9:37 min
- 13Summary4:43 min
- 14Useful Resources & Links0:00 min
4Templates & Static Files21 aulas · 2 h e 1 min
- 01Module Introduction3:55 min
- 02Adding & Registering Templates14:55 min
- 03Rendering Templates4:16 min
- 04Template Language & Variable Interpolation5:38 min
- 05Exercise Solution1:56 min
- 06Filters4:19 min
- 07The Django Visual Studio Code Extension2:29 min
- 08Tags & the "for" Tag8:02 min
- 09The URL Tag for Dynamic URLs6:10 min
- 10The "if" Tag for Conditional Content5:16 min
- 11Template Inheritance9:38 min
- 12Exercise Solution1:31 min
- 13Including Partial Template Snippets9:45 min
- 14More on the Django Template Language (DTL)0:00 min
- 15404 Templates7:08 min
- 16Adding Static Files9:13 min
- 17Adding Global Static Files6:24 min
- 18Adding CSS Styling15:55 min
- 19Building Static URLs Dynamically0:00 min
- 20Summary4:48 min
- 21Useful Resources & Links0:00 min
5Course Project: Building a Blog - The Basics15 aulas · 1 h e 35 min
- 01Module Introduction1:13 min
- 02Setting Up the Starting Project3:45 min
- 03Planning the Project4:26 min
- 04Adding URLs & Views11:16 min
- 05Adding First Templates8:10 min
- 06Template Content & Static Files16:11 min
- 07Adding Images as Static Files2:58 min
- 08Adding the "All Posts" Page & Style10:32 min
- 09Linking the Pages4:16 min
- 10Adding the "Single Post" Page5:39 min
- 11Adding Dummy Data to the "Views" File4:09 min
- 12Special Template Features & Syntax11:26 min
- 13Adding a Single Post Page8:44 min
- 14Adding a 404 Page1:57 min
- 15Useful Resources & Links0:00 min
6Data & Models27 aulas · 2 h e 20 min
- 01Module Introduction2:55 min
- 02Different Kinds of Data6:56 min
- 03Understanding Database Options6:15 min
- 04Understanding SQL6:38 min
- 05Django Models1:02 min
- 06Creating a Django Model with Fields9:44 min
- 07Migrations6:58 min
- 08Inserting Data4:35 min
- 09Getting all Entries1:52 min
- 10Updating Models & Migrations12:17 min
- 11Blank vs Null2:42 min
- 12Updating Data5:50 min
- 13Deleting Data1:17 min
- 14Create Instead of Save3:07 min
- 15Querying & Filtering Data7:43 min
- 16"or" Conditions4:02 min
- 17Query Performance5:43 min
- 18Bulk Operations0:00 min
- 19Preparing Templates7:10 min
- 20Rendering Queried Data in the Template2:59 min
- 21Redering the Details Page9:38 min
- 22Model URLs4:41 min
- 23Adding a Slugfield & Overwriting Save9:04 min
- 24Using the Slug & Updating Field Options6:05 min
- 25Aggregation & Ordering7:13 min
- 26Summary3:29 min
- 27Useful Resources & Links0:00 min
7Admin7 aulas · 26 min
- 01Module Introduction2:14 min
- 02Logging Data Into the Admin Panel5:28 min
- 03Adding Models to the Admin Area3:32 min
- 04Configuring Model Fields3:03 min
- 05Configuring the Admin Settings6:28 min
- 06More Config Options5:04 min
- 07Useful Resources & Links0:00 min
8Relationships15 aulas · 1 h e 6 min
- 01Module Introduction1:52 min
- 02Understanding Relationship Types3:04 min
- 03Adding a one-to-many Relation & Migrations9:02 min
- 04Working with Relations in Python Code6:29 min
- 05Cross Model Queries8:24 min
- 06Managing Relations in Admin5:06 min
- 07Adding a one-to-one Relation6:42 min
- 08One-to-one Python Code4:54 min
- 09One-to-one & Admin Config5:23 min
- 10Setting-up many-to-many4:44 min
- 11Using many-to-many in Python5:18 min
- 12Many-to-many in Admin2:20 min
- 13Circular Relations & Lazy Relations0:00 min
- 14Summary2:37 min
- 15Useful Resources & Links0:00 min
9Course Project - Building a Blog: Data & Models14 aulas · 56 min
- 01Module Introduction1:57 min
- 02Planning the Data Models4:03 min
- 03Adding a Post Model7:36 min
- 04Author Model & one-to-many3:06 min
- 05Tag Model many-to-many1:22 min
- 06Registering Models for Admin1:15 min
- 07Migrations & Admin Login3:13 min
- 08Adding Data via Admin6:02 min
- 09Configuring the Admin Panel5:36 min
- 10Fetching Posts for Starting Page6:37 min
- 11All Post & Single Post Pages4:50 min
- 12Using Author & Tags Data8:34 min
- 13Summary1:40 min
- 14Useful Resources & Links0:00 min
10Forms20 aulas · 2 h e 3 min
- 01Module Introduction1:53 min
- 02Starting Setup4:52 min
- 03Adding a Dummy Form4:40 min
- 04Get & Post Requests9:59 min
- 05CSRF Protection5:52 min
- 06Handling Form Submission & Extracting Data9:50 min
- 07Manual Form Validation & the Problems with "that"6:09 min
- 08Using the Django Form Class11:04 min
- 09Validation with Django Forms4:12 min
- 10Customizing the Form Controls5:00 min
- 11Customizing the Rendered HTML5:05 min
- 12Adding Styling9:08 min
- 13Adding More Form Controls7:37 min
- 14Storing Form Data in a Database8:37 min
- 15Introducing Modelforms6:39 min
- 16Configuring the Modelform3:47 min
- 17Saving Data with a Modelform4:28 min
- 18Class Based Views8:41 min
- 19Summary5:53 min
- 20Useful Resources & Links0:00 min
11Class Views11 aulas · 48 min
- 01Module Introduction1:07 min
- 02Adding Templates4:21 min
- 03TemplateView7:56 min
- 04Using the TemplateView5:03 min
- 05Showing a Detail Template5:06 min
- 06The ListView6:55 min
- 07DetailView3:48 min
- 08When to Use Which View2:22 min
- 09FormView6:42 min
- 10CreateView4:47 min
- 11Useful Resources & Links0:00 min
12File Uploads12 aulas · 47 min
- 01Module Introduction1:21 min
- 02Starting Setup1:24 min
- 03Making the File Upload Work7:30 min
- 04Storing Uploaded Files Naive Approach4:39 min
- 05Adding a Form with a Filefield4:38 min
- 06Using Models for File Storage8:44 min
- 07Using an Imagefield2:19 min
- 08Using a CreateView2:34 min
- 09Working with the File Field5:10 min
- 10Serving Uploaded Files6:50 min
- 11Summary1:53 min
- 12Useful Resources & Links0:00 min
13Sessions11 aulas · 28 min
- 01Module Introduction0:38 min
- 02Problem Description2:01 min
- 03What are Sessions?3:41 min
- 04Enabling & Configuring Sessions2:15 min
- 05Adding a New View4:31 min
- 06Storing Data in Sessions4:03 min
- 07Which Kind of Data Should be Stored2:33 min
- 08Using Session Data5:33 min
- 09Safely Accessing Session Data1:12 min
- 10Summary1:32 min
- 11Useful Resources & Links0:00 min
14Course Project: Building a Blog - Forms, Files & Sessions17 aulas · 1 h e 57 min
- 01Module Introduction2:05 min
- 02Adding an Imagefield to the Post Model6:31 min
- 03Serving Uploaded Files6:23 min
- 04Converting Views to Class Based14:03 min
- 05Adding a Comment Model5:15 min
- 06Adding a Comment Form6:01 min
- 07Styling the Comment Form7:15 min
- 08Handling Comment Form Submission14:06 min
- 09Comment Form Validation Styles9:39 min
- 10Outputting Comments5:03 min
- 11Styling the Comments3:13 min
- 12Comment Admin3:44 min
- 13Read Later Starting Setup7:09 min
- 14Managing Read Later via Session13:52 min
- 15Read Later Page & Styling6:30 min
- 16Finishing the Read Later Feature6:21 min
- 17Useful Resources & Links0:00 min
15Deployment20 aulas · 2 h e 1 min
- 01Module Introduction1:29 min
- 02Deployment Considerations5:00 min
- 03Which Database3:52 min
- 04Django & Web Servers4:33 min
- 05Serving Static Files5:43 min
- 06Choosing a Hosting Provider2:42 min
- 07Getting Started & Revisiting Settings7:00 min
- 08Collecting Static Files7:35 min
- 09Serving Static Files1:52 min
- 10A Note About Migrations1:13 min
- 11Locking in Dependencies5:48 min
- 12Using Environment Variables5:03 min
- 13Deploying with Elastic Beanstalk10:42 min
- 14SSL & Custom Domains2:57 min
- 15Connecting PostgreSQL18:58 min
- 16Serving Static Files Separately8:51 min
- 17Serving Static Files via S317:38 min
- 18Moving File Uploads to S38:26 min
- 19Summary1:28 min
- 20Useful Resources & Links0:00 min
16Optional: Django Summary & Quick Introduction32 aulas · 4 h e 5 min
- 01Module Introduction3:07 min
- 02What & Why?6:00 min
- 03Setup & Analyzing the Project Folder7:03 min
- 04Working with Apps4:49 min
- 05URLs & Views12:19 min
- 06Getting Started with Templates6:54 min
- 07Static Files & First Steps with the Django Template Language8:25 min
- 08Key Django Template Language Features & Tags9:39 min
- 09Using What we Learned8:53 min
- 10Adding a Detail Page10:44 min
- 11Dynamic Paths8:12 min
- 12Dynamic URLs in Templates6:49 min
- 13Using Template Inheritance12:45 min
- 14Includes4:59 min
- 15What is Data?3:43 min
- 16Getting Started with Models11:12 min
- 17Using the Admin Panel4:41 min
- 18Querying Data7:51 min
- 19Adding Image Upload11:38 min
- 20Serving & Displaying Images7:02 min
- 21Configuring the Admin Area8:26 min
- 22Setting one-to-many Relations9:51 min
- 23many-to-many Relations9:45 min
- 24More Meetup Fields & Outputting Related Data7:38 min
- 25Creating a Modelform8:21 min
- 26Handling Form Submission10:11 min
- 27More on Form Submission & Validation10:46 min
- 28From Modelform to Form9:17 min
- 29Polishing Organizer Email8:26 min
- 30Optimizing URLs3:59 min
- 31Wrap Up1:31 min
- 32Useful Resources & Links0:00 min
Pronto para começar?
Compre este curso no Academind Pro ou tenha todos os cursos com o All Access no Academind Infinite.
Este curso no Academind Pro
US$ 69pagamento único
Impostos incluídos · Garantia de reembolso de 30 dias
- Acesso vitalício a este curso
- Todas as futuras atualizações deste curso
- Materiais para download, código e um certificado
All Access no Academind Infinite
US$ 25por mês
ou
US$ 249US$ 249 por anoEconomize 17%- Todos os cursos, com todos os recursos
- Cursos novos assim que saem
- Seu tutor, com todos os recursos
O All Access também inclui todos os cursos do Academind Pro.