Introduction to Django

Video description

In this Introduction to Django training course, expert author Nicole Harris will teach you how to build your own Django applications. This course is designed for the absolute beginner, meaning no experience with Django is required.

You will start by learning how to manage data, then jump into learning about views, URLs, and templates. From there, Nicole will teach you about forms, including how to create and display a form, save form data, and write custom form validation. This video tutorial also covers testing your own Django application, including setting up and running tests, testing models, and testing forms. Finally, you will learn about deployment, including connecting with GitHub and configuring local settings, setting up a continuous integration server, and troubleshooting and setting up your first user.

Once you have completed this computer based training course, you will have learned how to set up, create, and deploy your own Django applications. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of contents

  1. Introduction
    1. What To Expect 00:02:57
    2. About The Author 00:00:59
    3. Why Choose Django? 00:02:48
    4. How Django Works 00:02:05
    5. Setting Up A Virtual Environment For Our Project 00:03:27
    6. Generating Our First Django Project 00:08:09
  2. Managing Data
    1. Basic Models And Model Fields 00:03:39
    2. Migrations - A Brief Introduction 00:01:48
    3. Using Django Shell To Create And Query Models 00:03:58
    4. The Django Admin - An Introduction 00:03:28
    5. Creating Relationships Between Models 00:03:19
    6. Model Methods 00:03:56
    7. Turbo Charging Our Admin 00:05:38
  3. Views, URLs And Templates
    1. Our First URL And View - Understanding The Request Response Cycle 00:03:45
    2. Creating Our First Template And Displaying Dynamic Data 00:03:32
    3. Querying Our Data And Using It In Our View 00:06:28
    4. Trying Out Class-Based Views 00:03:57
    5. Class-Based Generic Views 00:05:55
    6. Better HTML With Extends And Includes 00:03:21
    7. Creating Links And Adding Static Resources 00:02:45
  4. Forms
    1. Creating And Displaying Our First Form 00:06:18
    2. Saving Form Data 00:02:08
    3. Trying Out Model Forms With Class-Based Views 00:03:35
    4. Using CreateView And Controlling Form Rendering 00:05:44
    5. Writing Custom Form Validation 00:02:41
  5. Users
    1. Supporting Users In Our Application 00:07:18
    2. Restricting User Access 00:02:47
    3. Logging Users In And Out 00:05:01
  6. Testing Your Django Application
    1. Setting Up And Running Tests 00:04:10
    2. Creating Factories With FactoryBoy 00:07:18
    3. Testing Models 00:06:44
    4. Testing Our ListBooks View 00:05:38
    5. Testing Class Based Views 00:07:49
    6. Testing Forms 00:06:28
  7. Deployment
    1. Connecting With GitHub And Configuring Our Local Settings 00:08:10
    2. Setting Up A Continuous Integration Server 00:04:41
    3. Serving Your Application With Heroku 00:07:58
    4. Troubleshooting And Setting Up Our First User 00:03:50
  8. Conclusion
    1. Resources And Where To Go From Here 00:03:46
    2. Wrap Up 00:00:29

Product information

  • Title: Introduction to Django
  • Author(s): Nicole Harris
  • Release date: January 2016
  • Publisher(s): Infinite Skills
  • ISBN: 9781771375375