django-adapters
django-adapters copied to clipboard
Research existing attempts to do mirrored form rendering
https://github.com/WiserTogether/django-remote-forms (Django project) https://github.com/insin/newforms (JS project which was heavily inspired by Django.forms)
Might consider the Django third-party floppyforms
? The rendering is based on templates instead of string interpolation. Performances are not that great (and it is focused on HTML rendering, of course), but maybe there are some interesting ideas...
Might consider the Django third-party floppyforms? The rendering is based on templates instead of string interpolation.
I really like the idea of being able to modify the templates for form rendering. I tend to use crispy-forms
to that end (although it's not quite the same).
If I recall correctly the performance problem is due to {% include %}
being slow for some reason. I seem to remember @mjtamlyn having ideas about how this might be improved?
Perhaps selective use of jinja2 templates would be worth considering? (It's worth mentioning that I would prefer Django templates, however.)
if floppyforms and crispy-forms are included in this list, perhaps it would be good to look also:
https://github.com/jpic/xmodelform https://github.com/fusionbox/django-betterforms
I don't think floppyforms or crispy forms are in scope for this issue - as far as I'm aware they're both entirely focused on backend rendering. This issue is more about being able to render on the frontend.
This issue is more about being able to render on the frontend.
Aah, sorry about that. I'd not understood the issue title.
Here is on the client form rendering for the react-native
https://github.com/gcanti/tcomb-form-native https://github.com/gcanti/tcomb-json-schema