From 248270d164601db1ea5644a4a1d873a027e34ae2 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Fri, 5 Dec 2014 15:52:37 +0100 Subject: [PATCH] Update documentation --- HISTORY.rst | 1 + README.rst | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index f766d3a..ec97e73 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -16,6 +16,7 @@ History * If djangocms-page-meta and djangocms-page-tags are installed, the relevant toolbar items are removed from the toolbar in the post detail view to avoid confusings page meta / tags with post ones +* Plugin API changed to filter out posts according to the request. 0.2.0 (2014-09-24) ++++++++++++++++++ diff --git a/README.rst b/README.rst index 815b35b..2203e19 100644 --- a/README.rst +++ b/README.rst @@ -40,6 +40,13 @@ Supported django CMS versions: defaults for search engines. Existing data will not be affected, but widgets that enforce the length for new data is now being used. +.. warning:: Starting from 0.3 BlogLatestEntriesPlugin and BlogAuthorPostsPlugin + the plugin API has changed: ``BlogLatestEntriesPlugin.get_posts``, + ``BlogAuthorPostsPlugin.get_authors`` requires the ``request`` + argument. Templates has been changed to use a context variable + instead. Please update your plugin templates accordingly. + + Quickstart ----------