feat: added new settings and styling

This commit is contained in:
2024-12-05 21:14:57 +01:00
parent 313fb0cb3b
commit eb425cc0a6
9 changed files with 250 additions and 18 deletions
+6 -2
View File
@@ -15,8 +15,12 @@ if os.path.exists(env_file):
SECRET_KEY = env.str("SECRET_KEY", "this-is-the-default-secret-key")
DEBUG = env.bool("DEBUG", True)
CORS_ORIGIN_WHITELIST = env.str("CORS_ORIGIN_WHITELIST", "http://localhost:8000").split(",")
CSRF_TRUSTED_ORIGINS = env.str("CSRF_TRUSTED_ORIGINS", "http://localhost:8000").split(",")
CORS_ORIGIN_WHITELIST = env.str("CORS_ORIGIN_WHITELIST", "http://localhost:8000").split(
","
)
CSRF_TRUSTED_ORIGINS = env.str("CSRF_TRUSTED_ORIGINS", "http://localhost:8000").split(
","
)
DATABASE_URL = env.db_url("DATABASE_URL", "sqlite:///db.sqlite3")