~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/topics/http/middleware.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.1.12 upstream) (29.1.1 maverick-security)
  • Revision ID: james.westby@ubuntu.com-20101012113435-yy57c8tx6g9anf3e
Tags: 1.2.3-1ubuntu0.1
* SECURITY UPDATE: XSS in CSRF protections. New upstream release
  - CVE-2010-3082
* debian/patches/01_disable_url_verify_regression_tests.diff:
  - updated to disable another test that fails without internet connection
  - patch based on work by Kai Kasurinen and Krzysztof Klimonda
* debian/control: don't Build-Depends on locales-all, which doesn't exist
  in maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _topics-http-middleware:
2
 
 
3
1
==========
4
2
Middleware
5
3
==========
14
12
 
15
13
This document explains how middleware works, how you activate middleware, and
16
14
how to write your own middleware. Django ships with some built-in middleware
17
 
you can use right out of the box; they're documented in the :ref:`built-in
18
 
middleware reference <ref-middleware>`.
 
15
you can use right out of the box; they're documented in the :doc:`built-in
 
16
middleware reference </ref/middleware>`.
19
17
 
20
18
Activating middleware
21
19
=====================
173
171
      cares about is that the :setting:`MIDDLEWARE_CLASSES` setting includes
174
172
      the path to it.
175
173
 
176
 
    * Feel free to look at :ref:`Django's available middleware
177
 
      <ref-middleware>` for examples.
 
174
    * Feel free to look at :doc:`Django's available middleware
 
175
      </ref/middleware>` for examples.
178
176
 
179
177
    * If you write a middleware component that you think would be useful to
180
 
      other people, contribute to the community! :ref:`Let us know
181
 
      <internals-contributing>`, and we'll consider adding it to Django.
 
178
      other people, contribute to the community! :doc:`Let us know
 
179
      </internals/contributing>`, and we'll consider adding it to Django.