Skip to content

Commit 0190344

Browse files
committed
Update docs, fixes #357
1 parent 2bfe759 commit 0190344

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/django.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,19 @@ your settings.
267267
'immediate': False,
268268
}
269269
270+
Getting the Huey Instance
271+
^^^^^^^^^^^^^^^^^^^^^^^^^
272+
273+
If you want to interact with Huey APIs that are not exposed through ``djhuey``
274+
explicitly, you can get the actual ``Huey`` instance in the following way:
275+
276+
.. code-block:: python
277+
278+
from huey.contrib.djhuey import HUEY as huey
279+
280+
# E.g., get the underlying Storage instance.
281+
storage = huey.get_storage()
282+
270283
Configuration Examples
271284
^^^^^^^^^^^^^^^^^^^^^^
272285

0 commit comments

Comments
 (0)