2👍
One problem I’ve already mentioned in comment that you need forms.ModelForm
for TranslatorRegistrationForm
, otherwise django won’t recognize all fields you want to display.
If you want user to choose from language_tuples
as well as creating new pairs, it’s going to be 2 forms. One for your existing form, the other is a form for model LanguageTuple
. You need to display both forms in the template, so people could choose either from the list language_tuples
or fill out the form for LanguageTuple
.
Now be aware that you need some logic in place to detect whether user has chosen an existing language_tuple
or trying to use a newly created LanguageTuple
. It’s some extra steps before you save everything to database but it should be straight forward.