Skip to content Skip to sidebar Skip to footer

Presetting Values On A Foreign Entity Relationship In A ModelForm

I am using ModelForm to generate some forms. One of my forms has a ManyToOne relationship. This forms corresponds to the 'One' side of the relationship and I know (and have) the v

Solution 1:

There's a queryset parameter you can pass to the SomeModelSet as explained in the docs.


Post a Comment for "Presetting Values On A Foreign Entity Relationship In A ModelForm"