syrusakbary / Flask-SuperAdmin

The best admin interface framework for Flask. With scaffolding for MongoEngine, Django and SQLAlchemy.
Other
643 stars 134 forks source link

Integration in a FlaskApp in /admin #135

Open gferreux opened 9 years ago

gferreux commented 9 years ago

Is it possible to integrate Flask-SuperAdmin in an exiting FlaskApp on a specific route '/admin' without running 2 app.run ? Thanks

wojcikstefan commented 8 years ago

Yes, it is. You simply need to initialize your admin this way: admin = Admin(app=app, url='/admin') where app is your FlaskApp.