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

« back to all changes in this revision

Viewing changes to docs/ref/contrib/flatpages.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-flatpages:
2
 
 
3
1
=================
4
2
The flatpages app
5
3
=================
92
90
put :class:`~django.contrib.flatpages.middleware.FlatpageFallbackMiddleware` at
93
91
the end of the list, because it's a last resort.
94
92
 
95
 
For more on middleware, read the :ref:`middleware docs
96
 
<topics-http-middleware>`.
 
93
For more on middleware, read the :doc:`middleware docs
 
94
</topics/http/middleware>`.
97
95
 
98
96
.. admonition:: Ensure that your 404 template works
99
97
    
124
122
.. class:: models.FlatPage
125
123
 
126
124
    Flatpages are represented by a standard
127
 
    :ref:`Django model <topics-db-models>`,
 
125
    :doc:`Django model </topics/db/models>`,
128
126
    which lives in `django/contrib/flatpages/models.py`_. You can access
129
 
    flatpage objects via the :ref:`Django database API <topics-db-queries>`.
 
127
    flatpage objects via the :doc:`Django database API </topics/db/queries>`.
130
128
 
131
129
.. _django/contrib/flatpages/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/models.py
132
130