Unzip budget-app v7 into repo root
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
|
||||
|
||||
class Settings:
|
||||
database_url: str = os.getenv("DATABASE_URL", "sqlite:///./budget.db")
|
||||
secret_key: str = os.getenv("SECRET_KEY", "change-me")
|
||||
admin_email: str = os.getenv("ADMIN_EMAIL", "admin@example.com")
|
||||
admin_password: str = os.getenv("ADMIN_PASSWORD", "admin")
|
||||
admin_name: str = os.getenv("ADMIN_NAME", "Administrator")
|
||||
default_language: str = os.getenv("DEFAULT_LANGUAGE", "pt")
|
||||
cookie_secure: bool = os.getenv("COOKIE_SECURE", "false").lower() == "true"
|
||||
session_hours: int = int(os.getenv("SESSION_HOURS", "12"))
|
||||
organization: str = os.getenv("ORGANIZATION_NAME", "")
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user