aboutsummaryrefslogtreecommitdiff
path: root/gn3/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/config.py')
-rw-r--r--gn3/config.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/gn3/config.py b/gn3/config.py
new file mode 100644
index 0000000..9c6ec34
--- /dev/null
+++ b/gn3/config.py
@@ -0,0 +1,16 @@
+class Config:
+ DEBUG = True
+ Testing = False
+
+
+class DevConfig(Config):
+ Testing = True
+ SQLALCHEMY_DATABASE_URI = "mysql://kabui:1234@localhost/test"
+ SECRET_KEY = "password"
+ SQLALCHEMY_TRACK_MODIFICATIONS = False
+
+
+def get_config():
+ return {
+ "dev": DevConfig
+ }