Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #259 from aldryn/mkoistinen/prep_release
Browse files Browse the repository at this point in the history
Document additions, update changelog, bump to 1.0.2
  • Loading branch information
mkoistinen committed Jul 13, 2015
2 parents f027730 + abdc3d7 commit 1174d8c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
CHANGELOG
=========

1.0.2 (2015-07-13)
------------------

* Adds a switch: ALDRYN_NEWSBLOG_UPDATE_SEARCH_DATA_ON_SAVE that when set to
False, prevents article data from being saved into search_data. This is useful
in environments which prefers to do all indexing in batches.
* Adds a management command: rebuild_article_search_data which can be used to
update search_data for all articles.


1.0.1 (2015-06-30)
------------------

Expand Down
2 changes: 1 addition & 1 deletion aldryn_newsblog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

from __future__ import unicode_literals

__version__ = '1.0.1'
__version__ = '1.0.2'
15 changes: 15 additions & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ apphook.

If Aldryn Search, Haystack, et al, are not installed, this setting does nothing.

The flag ``ALDRYN_NEWSBLOG_UPDATE_SEARCH_DATA_ON_SAVE``, when set to True
(default value), updates the article's search_data field whenever the article
is saved or a plugin is saved on the article's content placeholder. Set to false
to disable this feature.


*******************
Management Commands
*******************

The management command: ``rebuild_article_search_data`` can be used to update
the search_data in all articles for searching. It can accept a switch
``--language`` or the short-hand ``-l`` to specify the translations to process.
If this switch is not provided, all translations are indexed by default.


*******
Plugins
Expand Down

0 comments on commit 1174d8c

Please sign in to comment.