diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-03 00:53:31 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-03 00:53:31 +0200 |
commit | d7422c3ddd9770343654b34b544b040b6d24667b (patch) | |
tree | 0a9b47331d9bfb7c893ecccf12289a076172a5a6 | |
parent | 30438ffcf11a349c3d0ec3e5b8a61ac690b88e03 (diff) | |
download | justice-d7422c3ddd9770343654b34b544b040b6d24667b.tar.gz |
add function to create a database
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |