aboutsummaryrefslogtreecommitdiff
path: root/app/config.py
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2025-07-14 20:16:07 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2025-07-14 20:16:07 +0200
commitb73e8f510f1b3a13d942e1ad42c8a04401eb6b8c (patch)
tree26612c20e03adb3cb26c36f36d31576f3c77dc1c /app/config.py
parent072d546490ba6cd4422cbc9cd6644b455f58fd46 (diff)
parent895ed4be433a4159250b276bd99f574c9c39c98e (diff)
Merge branch 'develop' into 'main'3.0
Develop See merge request KaranJayachandra/match_up!17
Diffstat (limited to 'app/config.py')
-rw-r--r--app/config.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/config.py b/app/config.py
index 761165f..5bc65b3 100644
--- a/app/config.py
+++ b/app/config.py
@@ -3,12 +3,13 @@ from os import environ
class Config:
SQLALCHEMY_DATABASE_URI = environ.get("SQLALCHEMY_DATABASE_URI")
+ SECRET_KEY = environ.get("SECRET_KEY")
+ GUEST_COUNT = 4
COURT_COUNT = 12
- PLAYERS_PER_COURT = 4
MIN_PLAYER_LEVEL = 1
MAX_PLAYER_LEVEL = 10
+ PLAYERS_PER_COURT = 4
# Default players as dictionary of first names and primary keys
DEFAULTS = {"---": 1, "RESERVED": 2}
- GUEST_COUNT = 4
# Guest players as dictionary of first names and play level
- GUESTS = {"Beginner": 1, "Novice": 3, "Intermediate": 5} \ No newline at end of file
+ GUESTS = {"Beginner": 1, "Novice": 3, "Intermediate": 5}