mirror of
https://github.com/Llloooggg/TextSouls.git
synced 2026-03-06 04:26:23 +03:00
11 lines
251 B
Python
11 lines
251 B
Python
from flask import Blueprint
|
|
from flask_admin.contrib.sqla import ModelView
|
|
|
|
from . import admin
|
|
from textsouls.models import db
|
|
from textsouls.models import User
|
|
|
|
ts_admin = Blueprint("ts_admin", __name__)
|
|
|
|
admin.add_view(ModelView(User, db.session))
|