~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: (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
 
.. _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