Mastering Django Web Development

Course

Online

£ 20 VAT inc.

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Explore and master the advanced features of Django to build professional, manageable web applicationsDjango is one of the world's leading web development platforms that follows the model-view-template development method. This Python web framework makes your app building experience smoother, faster, and easier. It has been and continues to be the key feature behind the success of many start-ups across the world.Mastering Django Web Development shows you how to use advanced concepts to help you build professional grade Django applications.We start off by learning how class-based views work so that you can fully benefit from this powerful, but often poorly understood feature. We’ll then create custom middleware which will help us 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 our views and clients.For the finishing touches, we’ll dive into the details of caching, to improve our application performance, and then add custom management commands to help us automate routine tasks.By the end of this video course, you will emerge a Django expert.About the AuthorKevin Veroneau is a very active Python and Django developer who has worked for many start-ups, has an active Python blog, and has worked on a magnitude of Python projects over the years.
Matthew Nuzum has been developing web applications since 1999 and has worked for several start-ups including Canonical, the makers of Ubuntu, as well as Fortune 500 companies. He has a passion for helping others learn new technologies and has written numerous tutorials and help documents as well as running a web-focused user group based in his hometown of Des Moines.

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Use complex class-based views to implement a variety of functionalities in Django
Optimize database querying with the use of different kinds of caching
Create and use your own custom middleware for a Django app
Play with your data to get custom results with the use of template tags and filters
Delve into advance database modeling to build a custom database field for your Django application 
Perform repeat complex queries by using managers with your database models 
Automate tasks that run at a specific time or interval with the aid of Crontab

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Web
  • Web Development

Course programme

Advanced Uses of Class-based Views 5 lectures 10:12 The Course Overview This video will provide an overview of the course. Extending Class-based Views Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Using Mixins The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
Custom Class-based Views You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
Creating a Switchboard View You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
Advanced Uses of Class-based Views 5 lectures 10:12 The Course Overview This video will provide an overview of the course. Extending Class-based Views Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Using Mixins The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
Custom Class-based Views You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
Creating a Switchboard View You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
The Course Overview This video will provide an overview of the course. The Course Overview This video will provide an overview of the course. The Course Overview This video will provide an overview of the course. The Course Overview This video will provide an overview of the course. This video will provide an overview of the course. This video will provide an overview of the course. Extending Class-based Views Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Extending Class-based Views Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Extending Class-based Views Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Extending Class-based Views Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Generic class-based views provide a lot of functionality. Let's take a look at how you can easily extend them to create your own custom solutions.
  • Extend DetailView with your own data in three lines of code
  • Go further to add custom context with just a little more code
  • Reuse or even extend your new custom views
Using Mixins The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
Using Mixins The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
Using Mixins The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
Using Mixins The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
The built–in, generic class-based views are actually made up of many reusable mixins. Take a look at how you can use the same technique to add your own behaviors into your class-based views.
  • Understand how DetailView is made from several mixins
  • Create a new-style Python class with the behavior we want
  • Include your mixin when creating a custom class-based view
Custom Class-based Views You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
Custom Class-based Views You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
Custom Class-based Views You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
Custom Class-based Views You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
You don't have to use generic class-based views. If you plan to override much of the built-in behavior or just don't need it, then you can start out with a simpler class, such as view.
  • Learn how the View class adds the very basic functionality needed for a view
  • Add methods corresponding to the RESTful verbs, such as get and post
  • Use the views in the same way that you would use a generic class-based view
Creating a Switchboard View You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
Creating a Switchboard View You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
Creating a Switchboard View You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
Creating a Switchboard View You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
You can create a single class-based view that can handle all of the operations for a set of data. These are sometimes called switchboard classes, and they can help make your code easier to maintain.
  • Start out with a class based on the View object
  • Python's getattr function can call different methods based on parameters
  • Create a method for each operation of your switchboard
Custom Middleware 3 lectures 06:39 What Is Middleware? Code that is used in many views can be moved into middleware, allowing it to operate either before or after your view code is executed.
  • Process the Request and Process view hooks to run before your view
  • Make Process Template Response and Process Response run after your view
  • Get Process Exception running if there is an unhandled exception
Creating a Custom Middleware Middleware classes are not fancy; they simply have one or more methods that correspond to one of the five predefined hooks available. Let's take a closer look at them here.
  • Decide which hooks your middleware should implement
  • Create a standard- or new-style class
  • Define a method corresponding to the hooks you want
Exception Handling Middleware Showing users exceptions is unprofessional and may be a security problem. Let's examine an easier way to create middleware that catches and responds to unhandled exceptions.
  • Create a class and add it to middleware
  • Define a process_exception method
  • Capture and process exceptions before they get to the user
Custom Middleware rization header to your request
  • Enjoy full support of get, post, patch, and delete
  • Building a Rest API ...

    Additional information

    Fine-tune your knowledge of Django with the help of these bite-size videos that will take you through the advanced concepts of this technology coupled with a practical implementation

    Mastering Django Web Development

    £ 20 VAT inc.