Merge pull request #151 from Tazavoo/master

Corrected 'api_url_name' to 'api_name' in README.rst
This commit is contained in:
Zhongyuan 2016-09-26 20:54:00 +08:00 committed by GitHub
commit 0e658dcaa7

View file

@ -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::