We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 419079a commit d795b44Copy full SHA for d795b44
CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to
12
13
- 🚸(backend) make document search on title accent-insensitive #874
14
- 🚩 add homepage feature flag #861
15
+- 🔧(backend) allow overwriting the data directory #893
16
17
18
## [3.1.0] - 2025-04-07
src/backend/impress/settings.py
@@ -23,7 +23,7 @@
23
24
# Build paths inside the project like this: BASE_DIR / 'subdir'.
25
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
26
-DATA_DIR = os.path.join("/", "data")
+DATA_DIR = os.getenv("DATA_DIR", os.path.join("/", "data"))
27
28
29
def get_release():
0 commit comments