Mercurial > wikked
diff manage.py @ 121:7c7f7eca51ae
Don't re-cache all pages by default with some CLI commands.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 21 Nov 2013 21:35:13 -0800 |
parents | a65cedc183d6 |
children | ac6166453d77 |
line wrap: on
line diff
--- a/manage.py Tue Nov 19 23:07:50 2013 -0800 +++ b/manage.py Thu Nov 21 21:35:13 2013 -0800 @@ -34,18 +34,18 @@ @manager.command -def reset(): +def reset(cache=False): """ Re-generates the database and the full-text-search index. """ - wiki.reset() + wiki.reset(cache_ext_data=cache) @manager.command -def update(url=None): +def update(url=None, cache=False): """ Updates the database and the full-text-search index with any changed/new files. """ - wiki.update(url) + wiki.update(url, cache_ext_data=cache) @manager.command