diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index e8fcef6215..baebba9c50 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -79,7 +79,7 @@ may be a good choice for the :ref:`range fields <range-fields>` and .. note:: - When nesting ``ArrayField``, whether you use the `size` parameter or not, + When nesting ``ArrayField``, whether you use the ``size`` parameter or not, PostgreSQL requires that the arrays are rectangular:: from django.contrib.postgres.fields import ArrayField diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 38192d4fa6..6b042d305e 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -498,7 +498,7 @@ Examples (those after the first will only work on PostgreSQL):: ...wouldn't work because the query would be ordered by ``blog__name`` thus mismatching the ``DISTINCT ON`` expression. You'd have to explicitly order - by the relation `_id` field (``blog_id`` in this case) or the referenced + by the relation ``_id`` field (``blog_id`` in this case) or the referenced one (``blog__pk``) to make sure both expressions match. ``values()`` |
