Django dynamic forms - on-the-fly field population?

前端 未结 2 981
清酒与你
清酒与你 2020-12-24 13:39

I\'ve been scanning through Django documentation, and Google search results, all afternoon and I\'m still somewhat stuck in my attempt to create a dynamic form. I\'m hoping

2条回答
  •  渐次进展
    2020-12-24 14:10

    Here is one approach - Django/jQuery Cascading Select Boxes?

    You can create a new view that just renders json to a string, and then trigger an event when you're done selecting from the first list which loads the data dynamically from that json.

提交回复
热议问题