mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Removed suggestion of temporary lookup registration from docs
This commit is contained in:
@@ -216,12 +216,6 @@ When compiling a query, Django first looks for ``as_%s % connection.vendor``
|
|||||||
methods, and then falls back to ``as_sql``. The vendor names for the in-built
|
methods, and then falls back to ``as_sql``. The vendor names for the in-built
|
||||||
backends are ``sqlite``, ``postgresql``, ``oracle`` and ``mysql``.
|
backends are ``sqlite``, ``postgresql``, ``oracle`` and ``mysql``.
|
||||||
|
|
||||||
.. note::
|
|
||||||
If for some reason you need to change the lookup just for a specific query,
|
|
||||||
you can do that and reregister the original lookup afterwards. However you
|
|
||||||
need to be careful to ensure that your patch is in place until the queryset
|
|
||||||
is evaluated, not just created.
|
|
||||||
|
|
||||||
.. _query-expression:
|
.. _query-expression:
|
||||||
|
|
||||||
The Query Expression API
|
The Query Expression API
|
||||||
|
|||||||
Reference in New Issue
Block a user