Use FastAPI instead of Django
This commit is contained in:
parent
bfe90aa69d
commit
b462be40af
43 changed files with 1105 additions and 1688 deletions
9
app/settings.py
Normal file
9
app/settings.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from platformdirs import user_data_dir
|
||||
|
||||
DATA_DIR: str = user_data_dir(appname="FeedVault", appauthor="TheLovinator", roaming=True)
|
||||
DB_PATH: Path = Path(DATA_DIR) / "reader.sqlite"
|
||||
MEDIA_ROOT: Path = Path(DATA_DIR) / "uploads"
|
||||
Loading…
Add table
Add a link
Reference in a new issue