pony icon indicating copy to clipboard operation
pony copied to clipboard

WTF-Form integration (Auto form generation from entity declaration)

Open tabebqena opened this issue 5 years ago • 2 comments

Is there is library to auto generate form by consuming the Entity declaration, Like: Django , SQLAlchemy?

tabebqena avatar Oct 14 '20 11:10 tabebqena

Actually I searched a lot and found nothing, So I started to create initial library to integrate with ETF-Forms.

For testing :

Pony-WTF

For source code & contribution:

Pony-WTF

tabebqena avatar Oct 14 '20 11:10 tabebqena

Nice! But your package supports Flask and I'm trying to use WTForms with both Pony and Starlette.

I was kind of hoping Pony would provide some kind of support for WTForms.populate_obj(), but that means having a Pony model instance that's not saved yet, and that can be hydrated by WTForms.

jpic avatar Jan 06 '21 01:01 jpic