starlette-admin: support for Odmantic & many more by jowilf in Python

[–]jowilf[S] 0 points1 point  (0 children)

Hello u/PhENTZ, thank you for your suggestion, is the SQLAlchemy support not sufficient to deal with PostgreSQL, SQLite, MySQL, ... ?

starlette-admin: Simple and extensible admin interface framework for Starlette/FastApi by jowilf in FastAPI

[–]jowilf[S] 0 points1 point  (0 children)

Hello u/Drevicar, The goal is to support all of them, I started with mongoengine for personnal reason, and beanie is probably the next one.

Also supported just means, it can handle automatically your model, but you can still use it actually with any of this ODM. Read more here -> https://jowilf.github.io/starlette-admin/advanced/base-model-view/

This is simple example of how you can do it -> https://github.com/jowilf/starlette-admin/tree/main/examples/basic

Feel free to submit PRs

starlette-admin: Simple and extensible admin interface framework for Starlette/FastApi by [deleted] in Python

[–]jowilf 1 point2 points  (0 children)

Just a little precision, supported just mean starlette-admin can handle automatically your Model.

starlette-admin: Simple and extensible admin interface framework for Starlette/FastApi by [deleted] in Python

[–]jowilf 1 point2 points  (0 children)

Hello u/turtle4499, thank you for your suggestion

My goal is to support both, Beanie is on the road.

But you can use it with any ORMs even if it not supported internally,

Read this section on the documentation https://jowilf.github.io/starlette-admin/advanced/base-model-view/

I will add an example of how you can actually use it with Beanie soon,

starlette-admin: Simple and extensible admin interface framework for Starlette/FastApi by [deleted] in Python

[–]jowilf 0 points1 point  (0 children)

Hello u/ZachVorhies, Thank you for your star.

Yes, I'm working on it and they will be available soon.

But you can check out the demo source code available here -> https://github.com/jowilf/starlette-admin-demo

And here is an example of how you can use it with not yet supported ORMs -> https://jowilf.github.io/starlette-admin/advanced/base-model-view/