1
0
mirror of https://github.com/django/django.git synced 2025-03-09 17:02:43 +00:00

[4.2.x] Removed obsolete sentence in custom model field docs.

Backport of 36ed45d27cb97fe3a41eca219ba75ff69f16b93c from main
This commit is contained in:
Giannis Terzopoulos 2023-11-15 13:48:45 +01:00 committed by Mariusz Felisiak
parent e9acdff462
commit f1e004012f

View File

@ -433,9 +433,7 @@ Django when the framework constructs the ``CREATE TABLE`` statements for your
application -- that is, when you first create your tables. The methods are also
called when constructing a ``WHERE`` clause that includes the model field --
that is, when you retrieve data using QuerySet methods like ``get()``,
``filter()``, and ``exclude()`` and have the model field as an argument. They
are not called at any other time, so it can afford to execute slightly complex
code, such as the ``connection.settings_dict`` check in the above example.
``filter()``, and ``exclude()`` and have the model field as an argument.
Some database column types accept parameters, such as ``CHAR(25)``, where the
parameter ``25`` represents the maximum column length. In cases like these,