diff --git a/bookstore/README.md b/bookstore/README.md index f6ad34e..b8eba40 100644 --- a/bookstore/README.md +++ b/bookstore/README.md @@ -3871,8 +3871,8 @@ INSTALLED_APPS = ( HAYSTACK_CONNECTIONS = { 'default': { # 使用whoosh引擎 - # 'ENGINE': 'haystack.backends.whoosh_cn_backend.WhooshEngine', - 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', + 'ENGINE': 'haystack.backends.whoosh_cn_backend.WhooshEngine', + # 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', # 索引文件路径 'PATH': os.path.join(BASE_DIR, 'whoosh_index'), }