O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Intermediate Django

Video Description

In this Intermediate Django training course, expert author Mark Lavin will teach you how to build a modern, scalable, and maintainable web application with Django. This course is designed for users that are already familiar with Django and web development.

You will start by learning about customization, then jump into learning about management commands, including how to write a management command, add command options, and test management commands. From there, Mark will teach you about views and templates, AJAX with Django, migrations, and user input and management. This video tutorial also covers asynchronous tasks with Celery, including how to create a task, run periodic tasks, and monitor Celery. Finally, you will learn about settings and configuration and code quality.

Once you have completed this computer based training course, you will have learned how to build modern, scalable, and maintainable web applications with Django. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. Introduction
    1. Course Overview And About The Author 00:03:36
    2. Prerequisites And Environment Setup 00:03:37
    3. Project Description 00:01:53
  2. ORM Customization
    1. Custom Managers 00:02:57
    2. Custom Querysets 00:04:29
    3. Aggregation And Annotation 00:06:24
  3. Admin Customization
    1. Customizing Admin Listing 00:07:16
    2. Adding New Admin Filters 00:05:01
    3. Adding New Admin Actions 00:05:24
    4. Testing Admin Customization 00:08:23
  4. Management Commands
    1. Writing A Management Command 00:06:50
    2. Adding Command Options And Flags 00:04:48
    3. Testing Management Commands 00:05:26
    4. Running Management Commands With Cron 00:08:37
  5. Views And Templates
    1. Building Base Template 00:06:13
    2. Static Files Configuration 00:06:33
    3. Template Inheritance Patterns 00:05:54
    4. Unit Testing Views 00:04:12
  6. AJAX With Django
    1. JSON Views 00:04:14
    2. Client-Side Requests With jQuery 00:05:27
    3. Passing Variables From Django To The Client 00:05:00
    4. Filtering With Django-Filter 00:04:27
  7. Migrations
    1. Migration Basics 00:04:00
    2. Multi-Step Migrations 00:06:40
    3. Updating Code Base For Model Adjustments 00:05:44
    4. Squashing Migrations 00:06:17
  8. User Input
    1. Form Views 00:05:09
    2. Form Rendering 00:03:52
    3. Multiple Model Updates With Formsets 00:05:44
    4. Testing Forms 00:07:40
  9. User Management
    1. Built-In Views - Login And Logout 00:03:43
    2. Built-In Views - Password Change 00:03:15
    3. New User Creation 00:04:53
  10. Asynchronous Tasks With Celery
    1. Motivation, Celery And RabbitMQ Setup 00:09:34
    2. Creating A Task 00:05:05
    3. Running Periodic Tasks 00:04:55
    4. Monitoring Celery 00:05:14
  11. Settings And Configuration
    1. Environment Settings 00:06:31
    2. Logging Configuration 00:05:23
    3. Security Related Settings 00:06:51
  12. Code Quality
    1. Checking Test Coverage 00:04:54
    2. Static Python Analysis With Flake8 00:04:29
    3. Static JS Analysis With JSHint 00:03:48
  13. Conclusion
    1. Resources 00:03:34
    2. Wrap Up 00:01:53