ragflow/api
Jin Hai 1e90a1bf36
Move settings initialization after module init phase (#3438)
### What problem does this PR solve?

1. Module init won't connect database any more.
2. Config in settings need to be used with settings.CONFIG_NAME

### Type of change

- [x] Refactoring

Signed-off-by: jinhai <haijin.chn@gmail.com>
2024-11-15 17:30:56 +08:00
..
apps Move settings initialization after module init phase (#3438) 2024-11-15 17:30:56 +08:00
db Move settings initialization after module init phase (#3438) 2024-11-15 17:30:56 +08:00
utils Move settings initialization after module init phase (#3438) 2024-11-15 17:30:56 +08:00
__init__.py rename web_server to api (#29) 2024-01-17 09:43:27 +08:00
constants.py Print configs when startup RAGFlow server (#3414) 2024-11-15 09:29:40 +08:00
ragflow_server.py Move settings initialization after module init phase (#3438) 2024-11-15 17:30:56 +08:00
settings.py Move settings initialization after module init phase (#3438) 2024-11-15 17:30:56 +08:00
validation.py Print configs when startup RAGFlow server (#3414) 2024-11-15 09:29:40 +08:00
versions.py Update version display on web UI (#3405) 2024-11-14 17:51:21 +08:00