aboutsummaryrefslogtreecommitdiff
path: root/app/config.py
diff options
context:
space:
mode:
authorKaran Jayachandra <me@karanj.com>2025-11-14 18:10:49 +0100
committerKaran Jayachandra <me@karanj.com>2025-11-14 18:10:49 +0100
commit202cf761e5162720f25521a75ae7cd6a4e0e5456 (patch)
tree0e57324bc72629cba3ed817b3439780f6959e509 /app/config.py
parent90390365bd93a4ee086c2931bb70ffa571a726b9 (diff)
parent56eb065a8165b3f508a35734adbb00c76bee012a (diff)
Merge branch 'develop' into 'main'
Develop See merge request KaranJayachandra/match_up!21
Diffstat (limited to 'app/config.py')
-rw-r--r--app/config.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/config.py b/app/config.py
deleted file mode 100644
index 5bc65b3..0000000
--- a/app/config.py
+++ /dev/null
@@ -1,15 +0,0 @@
-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
- 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 players as dictionary of first names and play level
- GUESTS = {"Beginner": 1, "Novice": 3, "Intermediate": 5}