diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2017-10-31 03:47:09 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-10-30 21:47:09 -0400 |
| commit | 617686e226231fe8ad3f2e49d3efabf6f5f434d3 (patch) | |
| tree | b32b79a90056b10288aaa79f3aaaa9dc7810af11 | |
| parent | fcfcf8aae470d893b0d2ef176434461edf9e9c4d (diff) | |
Fixed 'a'/'an' mix-ups in docs.
| -rw-r--r-- | docs/howto/custom-lookups.txt | 4 | ||||
| -rw-r--r-- | docs/ref/utils.txt | 2 | ||||
| -rw-r--r-- | docs/topics/db/multi-db.txt | 2 | ||||
| -rw-r--r-- | docs/topics/http/urls.txt | 2 | ||||
| -rw-r--r-- | docs/topics/testing/advanced.txt | 2 |
5 files changed, 6 insertions, 6 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): diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 9112cd4ff9..b6595ee293 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -966,7 +966,7 @@ appropriate entities. .. function:: make_naive(value, timezone=None) - Returns an naive :class:`~datetime.datetime` that represents in + Returns a naive :class:`~datetime.datetime` that represents in ``timezone`` the same point in time as ``value``, ``value`` being an aware :class:`~datetime.datetime`. If ``timezone`` is set to ``None``, it defaults to the :ref:`current time zone <default-current-time-zone>`. diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt index 7617259b3d..78f3fe23d9 100644 --- a/docs/topics/db/multi-db.txt +++ b/docs/topics/db/multi-db.txt @@ -650,7 +650,7 @@ registered with any ``Admin`` instance:: This example sets up two admin sites. On the first site, the ``Author`` and ``Publisher`` objects are exposed; ``Publisher`` -objects have an tabular inline showing books published by that +objects have a tabular inline showing books published by that publisher. The second site exposes just publishers, without the inlines. diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 92303a408a..38648d7de0 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -227,7 +227,7 @@ This usage isn't particularly recommended as it makes it easier to accidentally introduce errors between the intended meaning of a match and the arguments of the view. -In either case, using only one style within an given regex is recommended. When +In either case, using only one style within a given regex is recommended. When both styles are mixed, any unnamed groups are ignored and only named groups are passed to the view function. diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 2fdefb6a70..e6f0782248 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -298,7 +298,7 @@ Advanced features of ``TransactionTestCase`` recommended that you do not hard code primary key values in tests. Using ``reset_sequences = True`` will slow down the test, since the primary - key reset is an relatively expensive database operation. + key reset is a relatively expensive database operation. .. _testing-reusable-applications: |
