Skip to content

Commit

Permalink
Update docs, fixes #357
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Aug 18, 2022
1 parent 2bfe759 commit 0190344
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,19 @@ your settings.
'immediate': False,
}
Getting the Huey Instance
^^^^^^^^^^^^^^^^^^^^^^^^^

If you want to interact with Huey APIs that are not exposed through ``djhuey``
explicitly, you can get the actual ``Huey`` instance in the following way:

.. code-block:: python
from huey.contrib.djhuey import HUEY as huey
# E.g., get the underlying Storage instance.
storage = huey.get_storage()
Configuration Examples
^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 0190344

Please sign in to comment.