summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2008-11-02 20:53:47 +0000
committerKaren Tracey <kmtracey@gmail.com>2008-11-02 20:53:47 +0000
commit55943c09757c32c4c5ad7bc8a275df0cbbce172e (patch)
treeb27c687b8d8a85be4e461d782d8c2829c69a8407 /docs/ref/models
parentf1eb098d96bd43de03e94163449d49d598f953e1 (diff)
[1.0.X] Fixed #9497 - Doc typos. Many thanks ramiro.
[9330] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/querysets.txt4
-rw-r--r--docs/ref/models/relations.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index a2b94ebd82..c1fbdce5ca 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -35,7 +35,7 @@ You can evaluate a ``QuerySet`` in the following ways:
* **Slicing.** As explained in :ref:`limiting-querysets`, a ``QuerySet`` can
be sliced, using Python's array-slicing syntax. Usually slicing a
- ``QuerySet`` returns another (unevaluated )``QuerySet``, but Django will
+ ``QuerySet`` returns another (unevaluated ) ``QuerySet``, but Django will
execute the database query if you use the "step" parameter of slice
syntax.
@@ -627,7 +627,7 @@ of the arguments is required, but you should use at least one of them.
.. versionadded:: 1.0
In some rare cases, you might wish to pass parameters to the SQL fragments
- in ``extra(select=...)```. For this purpose, use the ``select_params``
+ in ``extra(select=...)``. For this purpose, use the ``select_params``
parameter. Since ``select_params`` is a sequence and the ``select``
attribute is a dictionary, some care is required so that the parameters
are matched up correctly with the extra select pieces. In this situation,
diff --git a/docs/ref/models/relations.txt b/docs/ref/models/relations.txt
index 1ee8b26258..d0906942e8 100644
--- a/docs/ref/models/relations.txt
+++ b/docs/ref/models/relations.txt
@@ -19,7 +19,7 @@ Extra methods on managers when used in a ForeignKey context
>>> e = Entry.objects.get(id=234)
>>> b.entry_set.add(e) # Associates Entry e with Blog b.
-.. method:: QuerySet.create(**kwargs)`
+.. method:: QuerySet.create(**kwargs)
Creates a new object, saves it and puts it in the related object set.
Returns the newly created object::
@@ -73,5 +73,5 @@ Extra methods on managers when used in a ForeignKey context
Note this doesn't delete the related objects -- it just disassociates them.
- Just like ``remove()``, ``clear()`` is only available on ``ForeignKey``s
+ Just like ``remove()``, ``clear()`` is only available on ``ForeignKey``\s
where ``null=True``.