Flask-SuperAdmin icon indicating copy to clipboard operation
Flask-SuperAdmin copied to clipboard

Integration in a FlaskApp in /admin

Open gferreux opened this issue 10 years ago • 1 comments

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

gferreux avatar Dec 12 '14 22:12 gferreux

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

wojcikstefan avatar Apr 26 '16 17:04 wojcikstefan