pallets-eco / flask-admin

Simple and extensible administrative interface framework for Flask
https://flask-admin.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5.8k stars 1.58k forks source link

Loose Coupling #2223

Closed JarriqTheTechie closed 2 years ago

JarriqTheTechie commented 2 years ago

Can flask admin be used without SQLAchemy? I'm really not a fan of the project and would prefer to use a different ORM such as masonite-orm.

mrjoes commented 2 years ago

This was a goal of Flask-Admin. SQLAlchemy support is just an extension that's built on top of Flask-Admin core. See here: https://github.com/flask-admin/flask-admin/blob/master/examples/simple/app.py

If you want to get fancy and support your ORM, check this doc: https://flask-admin.readthedocs.io/en/latest/advanced/#using-different-database-backends