diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-06 08:43:38 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-06 08:43:38 +0000 |
| commit | 167a131e533719806f3d4482f5be274fc0cced2e (patch) | |
| tree | b1ef28d4cf66601ddc5d4f8bd74302c7c4340b76 /docs/ref/models | |
| parent | 6f0bcd23e666678099e62fcb5a47a0bf39ad1ffb (diff) | |
[1.0.X] Fixed a couple of markup errors in the documentation.
Backport of r9164 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/instances.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index c7ea4f3d49..d7c4ee377a 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -7,9 +7,9 @@ Model instance reference .. currentmodule:: django.db.models This document describes the details of the ``Model`` API. It builds on the -material presented in the :ref:`model <topics-db-models>` and `database query -<topics-db-queries>` guides, so you'll probably want to read and understand -those documents before reading this one. +material presented in the :ref:`model <topics-db-models>` and :ref:`database +query <topics-db-queries>` guides, so you'll probably want to read and +understand those documents before reading this one. Throughout this reference we'll use the :ref:`example weblog models <queryset-model-example>` presented in the :ref:`database query guide @@ -294,7 +294,7 @@ in the URLConf file and in the model. You can further decouple your models from the URLconf using the ``permalink`` decorator: -.. function:: django.db.models.permalink() +.. function:: permalink() This decorator is passed the view function, a list of positional parameters and (optionally) a dictionary of named parameters. Django then works out the correct |
