summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-02-28 11:44:03 -0500
committerTim Graham <timograham@gmail.com>2014-02-28 11:44:03 -0500
commit7f2505ad9e27962ecbd61d2ce26ad691727404a4 (patch)
treecc71ebbbae410c45abf05c517434659c8029ccb1 /docs/ref/models
parent55fb16258888443bc70398248b6e681f3bc032c8 (diff)
Fixed doc typos.
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/custom-lookups.txt4
-rw-r--r--docs/ref/models/fields.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/custom-lookups.txt b/docs/ref/models/custom-lookups.txt
index b800897712..8aa2f792e5 100644
--- a/docs/ref/models/custom-lookups.txt
+++ b/docs/ref/models/custom-lookups.txt
@@ -198,7 +198,7 @@ MySQL for the NotEqual operator. Instead of ``<>`` we will be using ``!=``
operator. (Note that in reality almost all databases support both, including
all the official databases supported by Django).
-We can change the behaviour on a specific backend by creating a subclass of
+We can change the behavior on a specific backend by creating a subclass of
``NotEqual`` with a ``as_mysql`` method::
class MySQLNotEqual(NotEqual):
@@ -241,7 +241,7 @@ to this API.
The ``get_lookup()`` method is used to fetch lookups. By default the
lookup is fetched from the expression's output type in the same way
described in registering and fetching lookup documentation below.
- It is possible to override this method to alter that behaviour.
+ It is possible to override this method to alter that behavior.
.. method:: as_vendorname(qn, connection)
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 7c95f0fd70..4e02c66ca0 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -867,7 +867,7 @@ databases supported by Django. The default form widget for this field is a
.. class:: IPAddressField([**options])
.. deprecated:: 1.7
- This field has been deprecated in favour of
+ This field has been deprecated in favor of
:class:`~django.db.models.GenericIPAddressField`.
An IP address, in string format (e.g. "192.0.2.30"). The default form widget