from flask import Flask
from flask_admin import Admin
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
import os


app = Flask(__name__)
app.secret_key = "<\x1e\xaa\xe5\xa8\xed\x9e\xf4\x0fC\xc8X_\xb4\x14x"
app.config["SQLALCHEMY_DATABASE_URI"] = "mysql+pymysql://root:15102000@localhost/bookshopdb?charset=utf8mb4"
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
app.config['ROOT_PROJECT_PATH'] = app.root_path

db = SQLAlchemy(app=app)
admin = Admin(app=app, name="Quản lý nhà sách", base_template="layout.html", template_mode="bootstrap3")
login = LoginManager(app=app)

5b349874bbb1d09578ddd5cd8cb34c7e3d4c1a97
<mask token>

<mask token>
app = Flask(__name__)
app.secret_key = '<\x1eªå¨í\x9eô\x0fCÈX_´\x14x'
app.config['SQLALCHEMY_DATABASE_URI'
    ] = 'mysql+pymysql://root:15102000@localhost/bookshopdb?charset=utf8mb4'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
app.config['ROOT_PROJECT_PATH'] = app.root_path
db = SQLAlchemy(app=app)
admin = Admin(app=app, name='Quản lý nhà sách', base_template='layout.html',
    template_mode='bootstrap3')
login = LoginManager(app=app)

from flask import Flask
from flask_admin import Admin
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
import os
app = Flask(__name__)
app.secret_key = '<\x1eªå¨í\x9eô\x0fCÈX_´\x14x'
app.config['SQLALCHEMY_DATABASE_URI'
    ] = 'mysql+pymysql://root:15102000@localhost/bookshopdb?charset=utf8mb4'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
app.config['ROOT_PROJECT_PATH'] = app.root_path
db = SQLAlchemy(app=app)
admin = Admin(app=app, name='Quản lý nhà sách', base_template='layout.html',
    template_mode='bootstrap3')
login = LoginManager(app=app)

from flask import Flask
from flask_admin import Admin
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
import os


app = Flask(__name__)
app.secret_key = "<\x1e\xaa\xe5\xa8\xed\x9e\xf4\x0fC\xc8X_\xb4\x14x"
app.config["SQLALCHEMY_DATABASE_URI"] = "mysql+pymysql://root:15102000@localhost/bookshopdb?charset=utf8mb4"
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
app.config['ROOT_PROJECT_PATH'] = app.root_path

db = SQLAlchemy(app=app)
admin = Admin(app=app, name="Quản lý nhà sách", base_template="layout.html", template_mode="bootstrap3")
login = LoginManager(app=app)
