Replies: 3 comments 13 replies
-
@scott2b We don't really have this at the moment unfortunately. I know one person from the community built an app using React Admin, which used PiccoloCRUD as the backend. That was a complete app though, rather than an individual form. If your app is built in Vue JS it might be possible to reuse some of the Piccolo Admin code. We thought about creating some kind of Jinja2 extension, but haven't gotten around to it yet. |
Beta Was this translation helpful? Give feedback.
-
@scott2b I did a little experiment with creating forms in Jinja2 templates from the Piccolo table and it worked for basic column types. You can copy code from gist to file e.g |
Beta Was this translation helpful? Give feedback.
-
@dantownsend Based on this discussion, first question is whether it would be usefull to create a new package to generate server-side forms based on Piccolo tables (name would be If you agree with this idea, second question is should I released it in my repo or in Piccolo organisation repo? And third, I want to get your opinion and advice on the type annotations in the package. I added FK suport thru WTForms |
Beta Was this translation helpful? Give feedback.
-
Is this possible? Is there precedence/documentation for utilizing the forms capabilities of the admin app within my own views and templates?
Beta Was this translation helpful? Give feedback.
All reactions