diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index c325f1fd52..aa2bc188a8 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -391,6 +391,13 @@ Miscellaneous * Management commands no longer allow the abbreviated forms of the ``--settings`` and ``--pythonpath`` arguments. +* The private ``django.db.models.sql.constants.QUERY_TERMS`` constant is + removed. The :meth:`~.RegisterLookupMixin.get_lookup` + and :meth:`~.RegisterLookupMixin.get_lookups` methods + of the :ref:`Lookup Registration API ` may be + suitable alternatives. Compared to the ``QUERY_TERMS`` constant, they allow + your code to also account for any custom lookups that have been registered. + .. _deprecated-features-2.1: Features deprecated in 2.1