crunk-columns is a PESOS style website maker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import os
|
|
|
|
from flask import Flask
|
|
|
|
|
|
|
|
# from flask_sqlalchemy import SQLAlchemy
|
|
|
|
# db = SQLAlchemy()
|
|
|
|
# migrate = Migrate()
|
|
|
|
|
|
|
|
|
|
|
|
def create_app():
|
|
|
|
APP = Flask(__name__)
|
|
|
|
# APP.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///data/crunk_data.db"
|
|
|
|
# APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
|
|
|
|
# db.init_app(APP)
|
|
|
|
# migrate.init_app(APP, db, render_as_batch=True)
|
|
|
|
|
|
|
|
return APP
|