1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[4.1.x] Corrected heading level of "Registering and fetching lookups" section in docs.

Backport of 753602d0c65de4767310bfe4957e489eb94c6517 from main.
This commit is contained in:
Mariusz Felisiak 2022-09-04 14:32:24 +02:00
parent a1083805ac
commit f34655d756

View File

@ -516,13 +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 A list of validators to run for this field. See the :doc:`validators
documentation </ref/validators>` for more information. 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
how lookups are fetched from a field.
.. _model-field-types: .. _model-field-types:
Field types Field types
@ -2242,6 +2235,13 @@ Field API reference
This method must be added to fields prior to 1.7 to migrate its data This method must be added to fields prior to 1.7 to migrate its data
using :doc:`/topics/migrations`. 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
how lookups are fetched from a field.
.. _model-field-attributes: .. _model-field-attributes:
========================= =========================