Simplified settings
This commit is contained in:
@@ -24,7 +24,7 @@ schema = Schema(
|
||||
)
|
||||
|
||||
|
||||
index_path = os.path.join(os.path.dirname(settings.BASE_DIR), "index")
|
||||
index_path = settings.WHOOSH_INDEX
|
||||
|
||||
|
||||
def create_index() -> Index:
|
||||
|
||||
Reference in New Issue
Block a user