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

« back to all changes in this revision

Viewing changes to docs/ref/contrib/redirects.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (4.4.9 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-5rk3p18nyanuhj6g
* 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
 
.. _ref-contrib-redirects:
2
 
 
3
1
=================
4
2
The redirects app
5
3
=================
47
45
can put ``RedirectFallbackMiddleware`` at the end of the list, because it's a
48
46
last resort.
49
47
 
50
 
For more on middleware, read the :ref:`middleware docs
51
 
<topics-http-middleware>`.
 
48
For more on middleware, read the :doc:`middleware docs
 
49
</topics/http/middleware>`.
52
50
 
53
51
How to add, change and delete redirects
54
52
=======================================
65
63
 
66
64
.. class:: models.Redirect
67
65
 
68
 
    Redirects are represented by a standard :ref:`Django model <topics-db-models>`,
 
66
    Redirects are represented by a standard :doc:`Django model </topics/db/models>`,
69
67
    which lives in `django/contrib/redirects/models.py`_. You can access redirect
70
 
    objects via the :ref:`Django database API <topics-db-queries>`.
 
68
    objects via the :doc:`Django database API </topics/db/queries>`.
71
69
 
72
70
.. _django/contrib/redirects/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/redirects/models.py