Switched everything to pylon

This commit is contained in:
rain
2023-05-23 15:50:31 -05:00
parent 326c6a0e8b
commit 2c0afae749
24 changed files with 216 additions and 640 deletions
+14
View File
@@ -0,0 +1,14 @@
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
import os
basedir = os.path.abspath(os.path.dirname(__file__))
app = Flask(__name__)
app.config['SECRET_KEY'] = 'super secret key'
#app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///scanned.db'
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(basedir, 'scanned.db')
db = SQLAlchemy(app)
app.config.from_object(__name__)
from app import views