mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #14141: docs now use the :doc: construct for links between documents.
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a352154e42
commit
728effcfbd
181 changed files with 1222 additions and 1525 deletions
|
@ -1,5 +1,3 @@
|
|||
.. _ref-contrib-flatpages:
|
||||
|
||||
=================
|
||||
The flatpages app
|
||||
=================
|
||||
|
@ -92,8 +90,8 @@ Note that the order of :setting:`MIDDLEWARE_CLASSES` matters. Generally, you can
|
|||
put :class:`~django.contrib.flatpages.middleware.FlatpageFallbackMiddleware` at
|
||||
the end of the list, because it's a last resort.
|
||||
|
||||
For more on middleware, read the :ref:`middleware docs
|
||||
<topics-http-middleware>`.
|
||||
For more on middleware, read the :doc:`middleware docs
|
||||
</topics/http/middleware>`.
|
||||
|
||||
.. admonition:: Ensure that your 404 template works
|
||||
|
||||
|
@ -124,9 +122,9 @@ Via the Python API
|
|||
.. class:: models.FlatPage
|
||||
|
||||
Flatpages are represented by a standard
|
||||
:ref:`Django model <topics-db-models>`,
|
||||
:doc:`Django model </topics/db/models>`,
|
||||
which lives in `django/contrib/flatpages/models.py`_. You can access
|
||||
flatpage objects via the :ref:`Django database API <topics-db-queries>`.
|
||||
flatpage objects via the :doc:`Django database API </topics/db/queries>`.
|
||||
|
||||
.. _django/contrib/flatpages/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/models.py
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue