Issue with creating new pigeon and his parent records in a Django form
I am new to programming and currently learning Django. I am working on a web application where users can register new pigeons into a database. The registration form includes fields for the pigeon’s name and a long dropdown menu with all the existing records for the father and the mother, which becomes quite tedious with many pigeons. Is there a strategy to solve this? Something like search fields to allow the user to search and select the father and the mother? And if parents do not exist, to add functionality to register them from there, similar to the admin form?
If the father or mother doesn’t exist in the database, the user should be able to create a new parent record directly from the main registration form without leaving the page.