Field types List[Link[ModelName]] (OnetoMany relations) are now properly decoded as HasMany (Field) and rendered in Select2 with MultiSelect capability instead of being decoded as a ListField.
OneToOne and OneToMany fields are properly saved to DB without the need to explicitly wrap the fields in HasOne or HasMany in user's custom ModelView.
Add a small fix where in certain scenarios, the id filed may give the error ValueError: Can't find attribute with key id (fix provided by @hrz6976). GitHub Issue.
Todo
Create a proper README/Documentation
Compatibility
Tested with
starlette-admin (0.15.1)
Beanie-ODM (2.0.0)
FastAPI (0.118.0)
0.0.2beta2 (2025-08-04)
Updated
Removed projection from find_all function due to field always required bug
Todo
Create a proper README/Documentation
Compatibility
Tested with
starlette-admin (0.15.1)
Beanie-ODM (2.0.0)
FastAPI (0.116.1)
0.0.2beta1 (2025-07-25)
Added
Support for Beanie 2.0.0
Updated CHANGELOG.md
Todo
Create a proper README/Documentation
Compatibility
Tested with
starlette-admin (0.15.1)
Beanie-ODM (2.0.0)
FastAPI (0.116.1)
0.0.1beta3 (2025-06-26)
Added
Fixed __admin_select2_repr__ not working
Fixed List page taking a lot of time for a huge dataset even when the limit is set to very low.