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

Django by Example

Video Description

Create your own line of successful web applications with Django

About This Video

  • Learn Django by building four fully-functional, real-world web applications from scratch

  • Develop powerful web applications quickly using the best coding practices

  • Integrate other technologies into your application with clear, step-by-step explanations and comprehensive example code

  • In Detail

    Django is a powerful Python web framework designed to develop web applications quickly, from simple prototypes to large-scale projects. Django encourages clean, pragmatic design, and provides developers with a comprehensive set of tools to build scalable web applications. This video will walk you through the creation of four professional Django projects, teaching you how to solve common problems and implement best practices.

    The video begins by showing you how to build a blog application, before moving on to developing a social image bookmarking website, an online shop, and an e-learning platform. You will learn how to build a search engine and implement a user activity stream. Furthermore, you will create a recommendation engine, an e-commerce coupon system, and a content management system.

    The video will also teach you how to enhance your applications with AJAX, create RESTful APIs, and setup a production environment for your Django projects. After going through this video, you will have a good understanding of how Django works and how to integrate it with other technologies to build practical, advanced web applications.

    Table of Contents

    1. Chapter 1 : Building a Blog Application
      1. The Course Overview 00:04:47
      2. Installing Django 00:04:24
      3. Creating Your First Project 00:08:04
      4. Designing the Blog Data Schema 00:07:01
      5. Creating an Administration Site for Your Models 00:05:30
      6. Working with QuerySet and Managers 00:08:19
      7. Building List and Detail Views 00:05:46
      8. Creating Templates for Your Views 00:03:58
      9. Adding Pagination 00:02:32
      10. Using Class-Based Views 00:03:04
    2. Chapter 2 : Enhancing Your Blog with Advanced Features
      1. Creating and Handling Forms 00:05:49
      2. Sharing posts by E-Mail 00:06:20
      3. Creating a Comment System 00:07:15
      4. Adding Comments to the Post 00:04:03
      5. Adding Tagging Functionality 00:06:24
      6. Retrieving Posts by Similarity 00:04:06
    3. Chapter 3 : Extending Your Blog Application
      1. Creating Custom Template Tags and Filters 00:10:57
      2. Adding a Sitemap to Your Site 00:04:20
      3. Creating Feeds for Your Blog Posts 00:02:11
      4. Adding a Search Engine with Solr and Haystack 00:13:34
    4. Chapter 4 : Building a Social Website
      1. Creating a Social Website Project 00:02:45
      2. Using the Django Authentication Framework 00:14:14
      3. Password Authentication 00:05:20
      4. User Registration and User Profiles 00:11:44
      5. Building a Custom Authentication Backend 00:03:26
      6. Adding Social Authentication to Your Site 00:09:29
    5. Chapter 5 : Sharing Content in Your Website
      1. Creating an Image Bookmarking Website 00:05:21
      2. Posting Content from Other Websites 00:14:06
      3. Creating a Detail View for Images 00:02:04
      4. Creating Image Thumbnails Using Sorl-Thumbnail 00:02:29
      5. Adding AJAX Actions with jQuery 00:10:41
      6. Creating Custom Decorators for Your Views 00:02:15
      7. Adding AJAX Pagination to Your List Views 00:05:50
    6. Chapter 6 : Tracking User Actions
      1. Building a Follower System 00:06:30
      2. Building a Follower System (Continued) 00:06:27
      3. Building a Generic Activity Stream Application 00:08:28
      4. Building a Generic Activity Stream Application (Continued) 00:08:02
      5. Using Signals for De-normalizing Counts 00:07:43
      6. Using Redis for Storing Item Views 00:07:46
      7. Using Redis for Storing a Ranking 00:04:42
    7. Chapter 7 : Building an Online Shop
      1. Creating an Online Shop Project 00:13:23
      2. Building a Shopping Cart 00:10:57
      3. Creating Shopping Cart Views 00:07:17
      4. Creating a Context Processor for the Current 00:04:18
      5. Registering Customer Orders 00:06:50
      6. Launching Asynchronous Tasks with Celery 00:07:55
    8. Chapter 8 : Managing Payments and Orders
      1. Integrating a Payment Gateway 00:13:43
      2. Payment Notifications 00:06:49
      3. Exporting Orders to CSV Files 00:03:57
      4. Extending the Admin Site with Custom Views 00:04:58
      5. Generating PDF Invoices Dynamically 00:07:29
    9. Chapter 9 : Extending Your Shop
      1. Creating a Coupon System 00:15:22
      2. Adding Internationalization and Localization 00:08:22
      3. Translating Python Code 00:08:00
      4. Translating Templates 00:06:40
      5. Using the Rosetta Translation Interface 00:04:28
      6. URL Patterns for Internationalization 00:04:47
      7. Allowing Users to Switch Language 00:01:38
      8. Translating Models with django-parler 00:09:22
      9. Translating Models with django-parler (Continued) 00:08:05
      10. Building a Recommendation Engine 00:10:10
    10. Chapter 10 : Building an E-Learning Platform
      1. Creating an E-Learning Platform 00:01:35
      2. Building the Course Models 00:06:52
      3. Creating Models for Diverse Content 00:07:38
      4. Creating Custom Model Fields 00:07:57
      5. Creating a Content Management System 00:07:58
      6. Working with Groups and Permissions 00:08:20
      7. Using Form-sets 00:06:40
      8. Adding Content to Course Modules 00:05:58
      9. Managing Modules and Contents 00:05:00
      10. Reordering Modules and Contents 00:04:52
    11. Chapter 11 : Caching Content
      1. Displaying Courses 00:05:26
      2. Adding Student Registration 00:08:53
      3. Accessing the Course Contents 00:08:35
      4. Using the Cache Framework 00:08:14
      5. The Process of Caching 00:10:45
    12. Chapter 12 : Building an API
      1. Building a RESTful API 00:14:41
      2. Handling Authentication 00:11:27