Skip to content

Commit

Permalink
Add note on using django + sqlite and specifying "filename".
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Feb 5, 2021
1 parent d2dc9d0 commit bfa07f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ The following ``huey_class`` implementations are provided out-of-the-box:
* ``huey.RedisHuey`` - default.
* ``huey.PriorityRedisHuey`` - uses Redis but adds support for :ref:`priority`.
Requires redis server 5.0 or newer.
* ``huey.SqliteHuey`` - uses Sqlite, full support for task priorities.
* ``huey.SqliteHuey`` - uses Sqlite, full support for task priorities. Accepts
a ``filename`` parameter for the path to the database file.

Alternatively, you can simply set ``settings.HUEY`` to a :py:class:`Huey`
instance and do your configuration directly. In the example below, I've also
Expand Down

0 comments on commit bfa07f2

Please sign in to comment.