Oreilly - Advanced Web Development with Django
by Jeremy Spencer | Publisher: Packt Publishing | Release Date: March 2018 | ISBN: 9781788628587
Your one-stop guide to mastering the Django framework!About This VideoLearn basic security features using DjangoHow to build a powerful REST front-endTake a closer look at how Django runs testsExcel your knowledge to built powerful websites using DjangoIn DetailDjango is one of the world's leading web development platforms and follows the model-view-template development method. This Python web framework makes your app-building experience smoother, faster, and easier. This has been (and continues to be) the key feature behind the success of many start-ups across the world.You'll learn the skills needed to develop powerful websites quickly, with code that is clean and easy to maintain. This course will focus on how to keep your projects secure, how to integrate third-party libraries to build out quick, but powerful APIs, and how to make your projects easier to work with. We start off by learning how class-based views work so that you can fully benefit from this powerful, but often poorly understood feature. You'll then create custom middleware to help you better organize frequently used code. Have you ever wanted to build a complete REST API? We''ll do just that, starting out with a basic read-only API and then adding key-based authentication to allow the full range of CRUD functionality. We'll also utilize model managers and the Q method so that we can make it easier to get the data we need to use our views and clients. For the finishing touches, we'll delve into the details of caching, to improve our application performance, and then add custom management commands to help us automate routine tasks. We will also show you how to secure your web App using various Django tools. By the end of this video course, you will emerge as a fully-fledged Django expert
- Chapter 1 : Advanced Class Based Views
- The Course Overview 00:04:47
- Extending Class Based Views 00:12:02
- Using Mixins 00:06:51
- Creating Custom CBV's 00:05:41
- Building Switchboard Views 00:06:44
- Getting Help with Class Based Views 00:02:44
- Chapter 2 : Building a REST API
- Using Django Rest Frame to Scaffold 00:09:19
- CBV's in Django Rest Framework 00:05:15
- Authentication with DRF 00:06:15
- Chapter 3 : Graphql an Alternative API
- Introduction to GraphQL 00:07:30
- Building a Basic Schema 00:08:16
- Building Custom Objects 00:06:35
- Working With Mutations 00:06:53
- Chapter 4 : Optimizing Your Environment
- Pipenv the New PIP 00:08:25
- Separating Settings Files 00:07:05
- Custom Pipenv Environment 00:04:35
- Chapter 5 : Tests, Tests, Tests
- Why Testing Matters 00:07:36
- How Django Handles Testing 00:13:37
- Testing Models 00:10:21
- Testing Views 00:08:46
- Testing It All Together 00:05:35
- Chapter 6 : Securing Django
- Security in Django 00:03:55
- Securing the Django Admin 00:03:47
- Planning for Failure 00:06:45