summaryrefslogtreecommitdiffstats
path: root/frest/database.py
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2020-11-05 10:55:38 +0000
committerSanto Cariotti <santo@dcariotti.me>2020-11-05 10:55:38 +0000
commit9e2cb802005887cbd2480ef02a48603e1d174ca3 (patch)
treec61ea63eb9d8ce8b831273947e8c25efaa379024 /frest/database.py
parentb15544d35f53150d7969a07f502aa76493f2ad22 (diff)
fix: default imported modules
Diffstat (limited to 'frest/database.py')
-rw-r--r--frest/database.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/frest/database.py b/frest/database.py
new file mode 100644
index 0000000..176cd52
--- /dev/null
+++ b/frest/database.py
@@ -0,0 +1,4 @@
+from flask_sqlalchemy import SQLAlchemy
+
+db = SQLAlchemy()
+config = {"DATABASE_URI": "sqlite:///database.db"}