From f68f9e8b71cb72594ae124d470bc90988cda6e0f Mon Sep 17 00:00:00 2001 From: Tazavoo Date: Mon, 26 Sep 2016 15:43:44 +0300 Subject: [PATCH] Corrected 'api_url_name' to 'api_name' in README.rst Corrected argument name 'api_url_name' to 'api_name' in the README.rst for function register_notify_callbacks in templatetags/notificationtags.py. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index fd09cc7..a979336 100644 --- a/README.rst +++ b/README.rst @@ -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 ````) - 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::