Initial commit
This commit is contained in:
10
folkugat_web/config/directories.py
Normal file
10
folkugat_web/config/directories.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pathlib import Path
|
||||
|
||||
from folkugat_web.log import logger
|
||||
|
||||
APP_DIR = Path(__file__).resolve().parent.parent
|
||||
ASSETS_DIR = APP_DIR / "assets"
|
||||
STATIC_DIR = ASSETS_DIR / "static"
|
||||
TEMPLATES_DIR = ASSETS_DIR / "templates"
|
||||
|
||||
logger.info(f"Using APP_DIR: {APP_DIR}")
|
||||
Reference in New Issue
Block a user