メインコンテンツへスキップ
Academind
すべてのコース

Academind Proのコース

Python Django - The Practical Guide

Learn how to build web applications and websites with Python and the Django framework

  • 16セクション · 253件のレクチャー
  • 合計23 時間
Python Django - The Practical Guide

このコースについて

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.

学べること

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

前提条件

  • Basic Python knowledge is required.

  • Basic web development knowledge (HTML/CSS) is required.

  • No prior Django experience is required.

このコースの対象者

  • 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.

カリキュラム

始める前に、このコースの構成とペースをご確認ください。

  1. 1Getting Started7件のレクチャー · 18 分
    1. 01Welcome to the Course!2:05分
    2. 02What is Django?4:58分
    3. 03The Course Prerequisites1:54分
    4. 04What's Inside the Course?3:14分
    5. 05Getting the Most out of the Course3:05分
    6. 06Choose Your Course Path!2:41分
    7. 07The Academind Pro Referral Program0:00分
  2. 2Course Setup10件のレクチャー · 39 分
    1. 01Module Introduction1:05分
    2. 02Installing Python & Django6:25分
    3. 03Creating a Django Project2:33分
    4. 04Installing an IDE7:54分
    5. 05Analyzing the Created Project4:48分
    6. 06Starting a Development Server5:05分
    7. 07Django Apps8:19分
    8. 08Analyzing the Created Project2:27分
    9. 09More Advanced Setup Steps0:00分
    10. 10Useful Resources & Links0:00分
  3. 3URLs & Views14件のレクチャー · 1 時間 30 分
    1. 01Module Introduction2:45分
    2. 02Creating a New Project5:34分
    3. 03What are URLs & Views?5:42分
    4. 04Creating a First View & URL13:27分
    5. 05Adding More Views & URLs3:11分
    6. 06Dynamic Path Segments & Captured Values9:35分
    7. 07Path Converters5:16分
    8. 08Adding More Dynamic View Logic5:20分
    9. 09Redirects8:48分
    10. 10The Reverse Function & Named URLs10:31分
    11. 11Returning HTML5:48分
    12. 12Practicing URLs, Views & Dynamic View Logic9:37分
    13. 13Summary4:43分
    14. 14Useful Resources & Links0:00分
  4. 4Templates & Static Files21件のレクチャー · 2 時間 1 分
    1. 01Module Introduction3:55分
    2. 02Adding & Registering Templates14:55分
    3. 03Rendering Templates4:16分
    4. 04Template Language & Variable Interpolation5:38分
    5. 05Exercise Solution1:56分
    6. 06Filters4:19分
    7. 07The Django Visual Studio Code Extension2:29分
    8. 08Tags & the "for" Tag8:02分
    9. 09The URL Tag for Dynamic URLs6:10分
    10. 10The "if" Tag for Conditional Content5:16分
    11. 11Template Inheritance9:38分
    12. 12Exercise Solution1:31分
    13. 13Including Partial Template Snippets9:45分
    14. 14More on the Django Template Language (DTL)0:00分
    15. 15404 Templates7:08分
    16. 16Adding Static Files9:13分
    17. 17Adding Global Static Files6:24分
    18. 18Adding CSS Styling15:55分
    19. 19Building Static URLs Dynamically0:00分
    20. 20Summary4:48分
    21. 21Useful Resources & Links0:00分
  5. 5Course Project: Building a Blog - The Basics15件のレクチャー · 1 時間 35 分
    1. 01Module Introduction1:13分
    2. 02Setting Up the Starting Project3:45分
    3. 03Planning the Project4:26分
    4. 04Adding URLs & Views11:16分
    5. 05Adding First Templates8:10分
    6. 06Template Content & Static Files16:11分
    7. 07Adding Images as Static Files2:58分
    8. 08Adding the "All Posts" Page & Style10:32分
    9. 09Linking the Pages4:16分
    10. 10Adding the "Single Post" Page5:39分
    11. 11Adding Dummy Data to the "Views" File4:09分
    12. 12Special Template Features & Syntax11:26分
    13. 13Adding a Single Post Page8:44分
    14. 14Adding a 404 Page1:57分
    15. 15Useful Resources & Links0:00分
  6. 6Data & Models27件のレクチャー · 2 時間 20 分
    1. 01Module Introduction2:55分
    2. 02Different Kinds of Data6:56分
    3. 03Understanding Database Options6:15分
    4. 04Understanding SQL6:38分
    5. 05Django Models1:02分
    6. 06Creating a Django Model with Fields9:44分
    7. 07Migrations6:58分
    8. 08Inserting Data4:35分
    9. 09Getting all Entries1:52分
    10. 10Updating Models & Migrations12:17分
    11. 11Blank vs Null2:42分
    12. 12Updating Data5:50分
    13. 13Deleting Data1:17分
    14. 14Create Instead of Save3:07分
    15. 15Querying & Filtering Data7:43分
    16. 16"or" Conditions4:02分
    17. 17Query Performance5:43分
    18. 18Bulk Operations0:00分
    19. 19Preparing Templates7:10分
    20. 20Rendering Queried Data in the Template2:59分
    21. 21Redering the Details Page9:38分
    22. 22Model URLs4:41分
    23. 23Adding a Slugfield & Overwriting Save9:04分
    24. 24Using the Slug & Updating Field Options6:05分
    25. 25Aggregation & Ordering7:13分
    26. 26Summary3:29分
    27. 27Useful Resources & Links0:00分
  7. 7Admin7件のレクチャー · 26 分
    1. 01Module Introduction2:14分
    2. 02Logging Data Into the Admin Panel5:28分
    3. 03Adding Models to the Admin Area3:32分
    4. 04Configuring Model Fields3:03分
    5. 05Configuring the Admin Settings6:28分
    6. 06More Config Options5:04分
    7. 07Useful Resources & Links0:00分
  8. 8Relationships15件のレクチャー · 1 時間 6 分
    1. 01Module Introduction1:52分
    2. 02Understanding Relationship Types3:04分
    3. 03Adding a one-to-many Relation & Migrations9:02分
    4. 04Working with Relations in Python Code6:29分
    5. 05Cross Model Queries8:24分
    6. 06Managing Relations in Admin5:06分
    7. 07Adding a one-to-one Relation6:42分
    8. 08One-to-one Python Code4:54分
    9. 09One-to-one & Admin Config5:23分
    10. 10Setting-up many-to-many4:44分
    11. 11Using many-to-many in Python5:18分
    12. 12Many-to-many in Admin2:20分
    13. 13Circular Relations & Lazy Relations0:00分
    14. 14Summary2:37分
    15. 15Useful Resources & Links0:00分
  9. 9Course Project - Building a Blog: Data & Models14件のレクチャー · 56 分
    1. 01Module Introduction1:57分
    2. 02Planning the Data Models4:03分
    3. 03Adding a Post Model7:36分
    4. 04Author Model & one-to-many3:06分
    5. 05Tag Model many-to-many1:22分
    6. 06Registering Models for Admin1:15分
    7. 07Migrations & Admin Login3:13分
    8. 08Adding Data via Admin6:02分
    9. 09Configuring the Admin Panel5:36分
    10. 10Fetching Posts for Starting Page6:37分
    11. 11All Post & Single Post Pages4:50分
    12. 12Using Author & Tags Data8:34分
    13. 13Summary1:40分
    14. 14Useful Resources & Links0:00分
  10. 10Forms20件のレクチャー · 2 時間 3 分
    1. 01Module Introduction1:53分
    2. 02Starting Setup4:52分
    3. 03Adding a Dummy Form4:40分
    4. 04Get & Post Requests9:59分
    5. 05CSRF Protection5:52分
    6. 06Handling Form Submission & Extracting Data9:50分
    7. 07Manual Form Validation & the Problems with "that"6:09分
    8. 08Using the Django Form Class11:04分
    9. 09Validation with Django Forms4:12分
    10. 10Customizing the Form Controls5:00分
    11. 11Customizing the Rendered HTML5:05分
    12. 12Adding Styling9:08分
    13. 13Adding More Form Controls7:37分
    14. 14Storing Form Data in a Database8:37分
    15. 15Introducing Modelforms6:39分
    16. 16Configuring the Modelform3:47分
    17. 17Saving Data with a Modelform4:28分
    18. 18Class Based Views8:41分
    19. 19Summary5:53分
    20. 20Useful Resources & Links0:00分
  11. 11Class Views11件のレクチャー · 48 分
    1. 01Module Introduction1:07分
    2. 02Adding Templates4:21分
    3. 03TemplateView7:56分
    4. 04Using the TemplateView5:03分
    5. 05Showing a Detail Template5:06分
    6. 06The ListView6:55分
    7. 07DetailView3:48分
    8. 08When to Use Which View2:22分
    9. 09FormView6:42分
    10. 10CreateView4:47分
    11. 11Useful Resources & Links0:00分
  12. 12File Uploads12件のレクチャー · 47 分
    1. 01Module Introduction1:21分
    2. 02Starting Setup1:24分
    3. 03Making the File Upload Work7:30分
    4. 04Storing Uploaded Files Naive Approach4:39分
    5. 05Adding a Form with a Filefield4:38分
    6. 06Using Models for File Storage8:44分
    7. 07Using an Imagefield2:19分
    8. 08Using a CreateView2:34分
    9. 09Working with the File Field5:10分
    10. 10Serving Uploaded Files6:50分
    11. 11Summary1:53分
    12. 12Useful Resources & Links0:00分
  13. 13Sessions11件のレクチャー · 28 分
    1. 01Module Introduction0:38分
    2. 02Problem Description2:01分
    3. 03What are Sessions?3:41分
    4. 04Enabling & Configuring Sessions2:15分
    5. 05Adding a New View4:31分
    6. 06Storing Data in Sessions4:03分
    7. 07Which Kind of Data Should be Stored2:33分
    8. 08Using Session Data5:33分
    9. 09Safely Accessing Session Data1:12分
    10. 10Summary1:32分
    11. 11Useful Resources & Links0:00分
  14. 14Course Project: Building a Blog - Forms, Files & Sessions17件のレクチャー · 1 時間 57 分
    1. 01Module Introduction2:05分
    2. 02Adding an Imagefield to the Post Model6:31分
    3. 03Serving Uploaded Files6:23分
    4. 04Converting Views to Class Based14:03分
    5. 05Adding a Comment Model5:15分
    6. 06Adding a Comment Form6:01分
    7. 07Styling the Comment Form7:15分
    8. 08Handling Comment Form Submission14:06分
    9. 09Comment Form Validation Styles9:39分
    10. 10Outputting Comments5:03分
    11. 11Styling the Comments3:13分
    12. 12Comment Admin3:44分
    13. 13Read Later Starting Setup7:09分
    14. 14Managing Read Later via Session13:52分
    15. 15Read Later Page & Styling6:30分
    16. 16Finishing the Read Later Feature6:21分
    17. 17Useful Resources & Links0:00分
  15. 15Deployment20件のレクチャー · 2 時間 1 分
    1. 01Module Introduction1:29分
    2. 02Deployment Considerations5:00分
    3. 03Which Database3:52分
    4. 04Django & Web Servers4:33分
    5. 05Serving Static Files5:43分
    6. 06Choosing a Hosting Provider2:42分
    7. 07Getting Started & Revisiting Settings7:00分
    8. 08Collecting Static Files7:35分
    9. 09Serving Static Files1:52分
    10. 10A Note About Migrations1:13分
    11. 11Locking in Dependencies5:48分
    12. 12Using Environment Variables5:03分
    13. 13Deploying with Elastic Beanstalk10:42分
    14. 14SSL & Custom Domains2:57分
    15. 15Connecting PostgreSQL18:58分
    16. 16Serving Static Files Separately8:51分
    17. 17Serving Static Files via S317:38分
    18. 18Moving File Uploads to S38:26分
    19. 19Summary1:28分
    20. 20Useful Resources & Links0:00分
  16. 16Optional: Django Summary & Quick Introduction32件のレクチャー · 4 時間 5 分
    1. 01Module Introduction3:07分
    2. 02What & Why?6:00分
    3. 03Setup & Analyzing the Project Folder7:03分
    4. 04Working with Apps4:49分
    5. 05URLs & Views12:19分
    6. 06Getting Started with Templates6:54分
    7. 07Static Files & First Steps with the Django Template Language8:25分
    8. 08Key Django Template Language Features & Tags9:39分
    9. 09Using What we Learned8:53分
    10. 10Adding a Detail Page10:44分
    11. 11Dynamic Paths8:12分
    12. 12Dynamic URLs in Templates6:49分
    13. 13Using Template Inheritance12:45分
    14. 14Includes4:59分
    15. 15What is Data?3:43分
    16. 16Getting Started with Models11:12分
    17. 17Using the Admin Panel4:41分
    18. 18Querying Data7:51分
    19. 19Adding Image Upload11:38分
    20. 20Serving & Displaying Images7:02分
    21. 21Configuring the Admin Area8:26分
    22. 22Setting one-to-many Relations9:51分
    23. 23many-to-many Relations9:45分
    24. 24More Meetup Fields & Outputting Related Data7:38分
    25. 25Creating a Modelform8:21分
    26. 26Handling Form Submission10:11分
    27. 27More on Form Submission & Validation10:46分
    28. 28From Modelform to Form9:17分
    29. 29Polishing Organizer Email8:26分
    30. 30Optimizing URLs3:59分
    31. 31Wrap Up1:31分
    32. 32Useful Resources & Links0:00分

始める準備はできましたか?

このコースをAcademind Proで購入するか、Academind InfiniteのAll Accessですべてのコースを利用しましょう。

ブラックフライデー: All Access 1年分が $249 $249 · までの限定価格セール価格で購入する
  • Academind Proでこのコースを購入

    $69買い切り

    税込 · 30日間返金保証

    • このコースへの無期限アクセス
    • このコースの今後のアップデートすべて
    • ダウンロード資料、コード、修了証
    Python Djangoを購入
  • Academind InfiniteのAll Access

    $25/月

    または$249 $249 /年17%お得

    • すべてのコースを、すべての機能付きで
    • 新しいコースも随時追加
    • チューター(すべての機能)
    All Accessを始める

All Accessには、Academind Proのすべてのコースも含まれます。

Academind ProとAcademind Infinite

コースもログインもそれぞれ別の、2つのプラットフォームです。

Academind Pro

pro.academind.comにある、これまでのコースプラットフォームです。Proのサブスクリプションとご購入のコースは、引き続きProでご利用いただけます。

Academind Proにログイン

Academind Infinite

AIファーストの新しいプラットフォームです。ProメンバーはProのアカウントでログインできます。Pro All AccessにはInfiniteも含まれ、すべてのコースを受講できます。

Academind Infiniteにログイン

Proのアカウントをお持ちか、Proでコースをご購入済みですか?

Infiniteに移ったのは、Proのコースの一部だけです。お持ちのコースを選んで、Infiniteでのページを開いてください。