~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.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

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.