summaryrefslogtreecommitdiffstats
path: root/kittystore/__init__.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-08-01 12:20:36 +0000
committerAurélien Bompard <aurelien@bompard.org>2013-08-01 13:36:17 +0000
commit070871070e62fce367c55ec52579f4680b3d3980 (patch)
tree6b9adfc64686e7b061dd22192c44a29f5cfb320e /kittystore/__init__.py
parentea538b0cba128ec298de667e7dd5646312415909 (diff)
downloadkittystore-070871070e62fce367c55ec52579f4680b3d3980.tar.gz
kittystore-070871070e62fce367c55ec52579f4680b3d3980.tar.xz
kittystore-070871070e62fce367c55ec52579f4680b3d3980.zip
Store the user_id in the search index
Diffstat (limited to 'kittystore/__init__.py')
-rw-r--r--kittystore/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kittystore/__init__.py b/kittystore/__init__.py
index 272c19c..5a97253 100644
--- a/kittystore/__init__.py
+++ b/kittystore/__init__.py
@@ -40,6 +40,7 @@ def get_store(settings, debug=None):
store = get_storm_store(settings, debug)
if settings.KITTYSTORE_SEARCH_INDEX is not None:
store.search_index.initialize_with(store)
+ store.search_index.upgrade(store)
return store