aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-10-16 21:42:22 +0000
committerKaran Jayachandra <mail@karanjayachandra.com>2024-10-16 21:42:22 +0000
commit7643486d7122b322a052bfca8ec83326c48053d0 (patch)
tree096d2b629818f79674d22a14eff124f082449b6e /config.py
parent9ef7d95c7010351078a929f5144f5098d4142cd0 (diff)
parent36cc7d82a55cbd8167e1f52637dd1938497dd8cc (diff)
Merge branch 'develop' into 'main'
Full functionality available See merge request KaranJayachandra/match_up!3
Diffstat (limited to 'config.py')
-rw-r--r--config.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..7d01933
--- /dev/null
+++ b/config.py
@@ -0,0 +1,16 @@
+class Config:
+ DEBUG = False
+ DEVELOPMENT = False
+ CSRF_ENABLED = True
+ ASSETS_DEBUG = False
+
+
+class ProductionConfig(Config):
+ pass
+
+
+class DevelopmentConfig(Config):
+ DEBUG = True
+ DEVELOPMENT = True
+ TEMPLATES_AUTO_RELOAD = True
+ ASSETS_DEBUG = True