Skip to content

Commit f47a413

Browse files
authored
Merge pull request #27 from rubickcz/fix_docs
Fix docs
2 parents 6a9a8d1 + dc595ee commit f47a413

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
History
33
=======
44

5+
not released yet
6+
----------------
7+
8+
* Fix documentation
9+
510
0.2.2 (2020-02-11)
611
------------------
712

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can configure the library in Django settings. Following options are availabl
1111
Iterable of Django apps that will be scanned for ``handlers`` module at startup. If the module is found, it will be
1212
imported, i.e. causing notification handlers to be automatically loaded.
1313

14-
* ``PYNOTIFY_CELERY_TASK`` (default: ``pynotify.tasks.pynotify_task``)
14+
* ``PYNOTIFY_CELERY_TASK`` (default: ``pynotify.tasks.notification_task``)
1515

1616
Import path to a Celery task used in asynchronous mode. See :ref:`async`.
1717

docs/reference.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,12 @@ pynotify.serializers
6363
.. automodule:: pynotify.serializers
6464
:members:
6565
:show-inheritance:
66+
67+
pynotify.tasks
68+
---------------------------
69+
70+
.. automodule:: pynotify.tasks
71+
:members:
72+
:show-inheritance:
73+
74+
.. autofunction:: notification_task(self, *args, **kwargs)

0 commit comments

Comments
 (0)