summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-10-31 03:47:09 +0200
committerTim Graham <timograham@gmail.com>2017-10-30 21:47:09 -0400
commit617686e226231fe8ad3f2e49d3efabf6f5f434d3 (patch)
treeb32b79a90056b10288aaa79f3aaaa9dc7810af11 /docs/howto
parentfcfcf8aae470d893b0d2ef176434461edf9e9c4d (diff)
Fixed 'a'/'an' mix-ups in docs.
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/custom-lookups.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/custom-lookups.txt b/docs/howto/custom-lookups.txt
index 64f7e5aca4..32037a29aa 100644
--- a/docs/howto/custom-lookups.txt
+++ b/docs/howto/custom-lookups.txt
@@ -109,7 +109,7 @@ or where it did not exceed a certain amount
functionality which is possible in a database backend independent manner,
and without duplicating functionality already in Django.
-We will start by writing a ``AbsoluteValue`` transformer. This will use the SQL
+We will start by writing an ``AbsoluteValue`` transformer. This will use the SQL
function ``ABS()`` to transform the value before comparison::
from django.db.models import Transform
@@ -257,7 +257,7 @@ operator. (Note that in reality almost all databases support both, including
all the official databases supported by Django).
We can change the behavior on a specific backend by creating a subclass of
-``NotEqual`` with a ``as_mysql`` method::
+``NotEqual`` with an ``as_mysql`` method::
class MySQLNotEqual(NotEqual):
def as_mysql(self, compiler, connection):