2023-10-30 14:48:00 +00:00
|
|
|
from flask import Flask, render_template, redirect, url_for, request, flash
|
|
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
|
|
|
|
app = Flask(__name__)
|
|
|
|
app.config['SECRET_KEY'] = 'secret_key'
|
|
|
|
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///db.sqlite3'
|
|
|
|
db = SQLAlchemy(app)
|
2023-11-01 18:46:27 +00:00
|
|
|
from models import User, SARCall, SARCategory
|
2023-10-30 14:48:00 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
db.create_all()
|