O'Reilly logo

Sams Teach Yourself Django in 24 Hours by Brad Dayley

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

Chapter 19. Implementing Middleware

<feature><title>What You’ll Learn in This Hour</title> <objective>

How to install middleware applications

</objective>
<objective>

How to use middleware applications

</objective>
<objective>

How to implement a request preprocessor

</objective>
<objective>

How to implement a view preprocessor

</objective>
<objective>

How to implement a response postprocessor

</objective>
<objective>

How to implement an exception postprocessor

</objective>
<objective>

What built-in middleware comes with Django

</objective>
</feature>

So far, all the code that we have written to manipulate views has been in the view functions and templates. Django provides a simple-to-use framework, called middleware, that allows you to manipulate the behavior ...

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

Start Free Trial

No credit card required