Commit 4a62b17a authored by Michal Čihař's avatar Michal Čihař

Use single method for creating index structures

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent aad2cbf5
...@@ -62,7 +62,7 @@ def clean_indexes(): ...@@ -62,7 +62,7 @@ def clean_indexes():
Cleans all indexes. Cleans all indexes.
""" """
shutil.rmtree(data_dir('whoosh')) shutil.rmtree(data_dir('whoosh'))
STORAGE.create() create_index()
@receiver(post_migrate) @receiver(post_migrate)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment