-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any options for admin panel? #167
Comments
Oh yes, we used Flask-Admin in one of our project with GINO. The trick is to replace import os
if os.environ.get('FLASK_APP')
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
else:
from gino.ext.sanic import Gino
db = Gino()
def init_app(app):
from . import accounting, deposit, product, timeline, user
db.init_app(app) As you can see, I used environment variable Also I'm planning to build such a admin console with GINO, GraphQL and Vue.js. But that is a long story. |
Thanks a lot, Dear Sir, may The Force be with you! |
Quite welcome you are. 😸 |
Maybe will be useful for someone: https://github.com/xnuinside/gino_admin . It's in active development now, but CRUD & upload from csv already works |
@xnuinside thanks for using and sharing! This is now added on https://python-gino.org/credits/ |
Are there any options of auto-generated admin panel for
gino
models? I tried to usegino
models onFlask-admin
, but had no luck with it (_sa_instance_state_manager
attribute was missing).The text was updated successfully, but these errors were encountered: