mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
11 lines
290 B
Python
11 lines
290 B
Python
from flask import Flask
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
app = Flask(__name__)
|
|
app.config["SECRET_KEY"] = "dev"
|
|
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///../advLab.db"
|
|
db = SQLAlchemy(app)
|
|
|
|
from advlabdb import routes
|
|
from advlabdb import models
|
|
from advlabdb import forms
|