summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2018-07-25 10:41:57 +0200
committerCarlton Gibson <carlton.gibson@noumenal.es>2018-08-03 07:28:21 +0200
commita004350193a503b6722633c4309f70551fde0983 (patch)
treee406996a92da6f9509d812dd4022c0665687f33c /docs
parent0cfca0f2ccc2050de9de65a28d241d8cafcfe666 (diff)
[2.1.x] Refs #29593, #26891 -- Doc'd RegisterLookupMixin.get_lookups().
Backport of a67ebcb1cbd37e1fc9eddd2da1dda7f319c5ac1d from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/lookups.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt
index bd9831e23d..7a2f6edaa4 100644
--- a/docs/ref/models/lookups.txt
+++ b/docs/ref/models/lookups.txt
@@ -57,6 +57,11 @@ register lookups on itself. The two prominent examples are
and checks if any has a registered lookup named ``lookup_name``, returning
the first match.
+ .. method:: get_lookups()
+
+ Returns a dictionary of each lookup name registered in the class mapped
+ to the :class:`Lookup` class.
+
.. method:: get_transform(transform_name)
Returns a :class:`Transform` named ``transform_name``. The default