react-django-admin icon indicating copy to clipboard operation
react-django-admin copied to clipboard

Any solution for mapping model to React interface

Open nvcken opened this issue 9 years ago • 4 comments

I think you has already though about this. Have you any concept or solution yet , I am thinking some kinds likes generate React form component from Django model

nvcken avatar Mar 30 '16 07:03 nvcken

Yes, that would be the ultimate goal. It would require a lot more work though, and there will be scores of corner-case components: I just used a modal-view for uploading files for example, which would be very difficult to write a generator for.

wimagguc avatar Mar 30 '16 08:03 wimagguc

Sound would take time to implement. At my urgent case, I think the light way is building separate UI for customize form which model need likes ( dynamic json form ...) then send via django rest API. What do you think ?

nvcken avatar Mar 30 '16 09:03 nvcken

Sure. Feel free to go ahead :)

wimagguc avatar Mar 30 '16 09:03 wimagguc

would good ref https://github.com/jrief/django-angular

nvcken avatar Mar 30 '16 10:03 nvcken