| 7 | |
| 8 | |
| 9 | class Settings(BaseSettings): |
| 10 | model_config = ConfigDict(case_sensitive=True) |
| 11 | SITE_NAME: str = "BeanHub Forms" |
| 12 | DEBUG_LOG: bool = False |
| 13 | SECRET_KEY: str = secrets.token_urlsafe(32) |
| 14 | SESSION_MAX_AGE: int = 14 * 24 * 60 * 60 # 14 days, in seconds |
| 15 | BEANCOUNT_DIR: pathlib.Path = pathlib.Path.cwd() |
| 16 | |
| 17 | |
| 18 | # Do not import and access this directly, use settings instead |