mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
Merge pull request #151 from Tazavoo/master
Corrected 'api_url_name' to 'api_name' in README.rst
This commit is contained in:
commit
0e658dcaa7
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ How to use:
|
|||
#. ``refresh_period`` (default ``15``) - How often to fetch unread items from the server (integer in seconds).
|
||||
#. ``fetch`` (default ``5``) - How many notifications to fetch each time.
|
||||
#. ``callbacks`` (default ``<empty string>``) - A comma-separated list of javascript functions to call each period.
|
||||
#. ``api_url_name`` (default ``list``) - The name of the API to call (this can be either ``list`` or ``count``).
|
||||
#. ``api_name`` (default ``list``) - The name of the API to call (this can be either ``list`` or ``count``).
|
||||
|
||||
3. To insert a live-updating unread count, use the following template::
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue