I have a web interface in which I can add entries to a child model, which I created in Django. I can populate the child model by using dropdown menus which will display the items currently stored in the parent models. I would like to be able to actually insert a new item in the parent model from within the same form.
As you see in the picture this is the rendered form in which I can create a new “result”. The entries “object_id” and “type_id” in the correspondent “results” model are ForeignKeys and are rendered as dropdown menus. From the same page, I would like to have the possibility to add a new value to “object_id” or “type_id” instead of only reading the values stored in the parents’ models. Is there a way of doing this?