summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-09-04 14:32:24 +0200
committerGitHub <noreply@github.com>2022-09-04 14:32:24 +0200
commit753602d0c65de4767310bfe4957e489eb94c6517 (patch)
tree97e63a841af15824c15c73c8071dede9cd3e39ce /docs
parentcd1afd553f9c175ebccfc0f50e72b43b9604bd97 (diff)
Corrected heading level of "Registering and fetching lookups" section in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 7f01ae3cfc..81a1422ddb 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -516,18 +516,6 @@ underscores to spaces. See :ref:`Verbose field names <verbose-field-names>`.
A list of validators to run for this field. See the :doc:`validators
documentation </ref/validators>` for more information.
-Registering and fetching lookups
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-``Field`` implements the :ref:`lookup registration API <lookup-registration-api>`.
-The API can be used to customize which lookups are available for a field class
-and its instances, and how lookups are fetched from a field.
-
-.. versionchanged:: 4.2
-
- Support for registering lookups on :class:`~django.db.models.Field`
- instances was added.
-
.. _model-field-types:
Field types
@@ -2247,6 +2235,18 @@ Field API reference
This method must be added to fields prior to 1.7 to migrate its data
using :doc:`/topics/migrations`.
+Registering and fetching lookups
+================================
+
+``Field`` implements the :ref:`lookup registration API <lookup-registration-api>`.
+The API can be used to customize which lookups are available for a field class
+and its instances, and how lookups are fetched from a field.
+
+.. versionchanged:: 4.2
+
+ Support for registering lookups on :class:`~django.db.models.Field`
+ instances was added.
+
.. _model-field-attributes:
=========================