aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-04-03 00:53:31 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-04-03 00:53:31 +0200
commitd7422c3ddd9770343654b34b544b040b6d24667b (patch)
tree0a9b47331d9bfb7c893ecccf12289a076172a5a6 /app.py
parent30438ffcf11a349c3d0ec3e5b8a61ac690b88e03 (diff)
downloadjustice-d7422c3ddd9770343654b34b544b040b6d24667b.tar.gz
add function to create a database
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index c89b6e6..7c5c0e7 100644
--- a/app.py
+++ b/app.py
@@ -12,7 +12,7 @@ from flask_debugtoolbar import DebugToolbarExtension
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
-app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///justice.db'
+app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///justice_db.db'
app.config["SQLALCHEMY_ECHO"] = True
app.secret_key = "123456"
app.debug = True