DEV Community

Francel
Francel

Posted on

please how to do nested_attribute and field_for in django like in ruby on rails.

Hello, I am familiar with ruby and rails. I learned the basics of python and django and I want to do some stuff in django like saving data to two different tables at the same time with a single form on the page like I do in ruby on rails with nested_attribute and field_for. Please how do we do that. Also how to send a javascript response to the browser as I do in rails with respond_to do | format | . Thank you.

Top comments (0)