Fix hooks documentation typo

This commit is contained in:
Nick Smith 2019-04-11 10:24:51 +01:00
parent 2668c05146
commit 21fc3d7679

View file

@ -716,7 +716,7 @@ Choosers
``construct_image_chooser_queryset``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Called when rendering the image chooser view, to allow the image listing QuerySet to be customised. The callable passed into the hook will receive the current image QuerySet and the request object, and must return a Document QuerySet (either the original one, or a new one).
Called when rendering the image chooser view, to allow the image listing QuerySet to be customised. The callable passed into the hook will receive the current image QuerySet and the request object, and must return an Image QuerySet (either the original one, or a new one).
.. code-block:: python