Re: Filtering ChoiceField by Multiple id's and same value ('name')

2020-08-29 Thread Yvonne Calhoun Pasquali
Correction: ModelChoiceFields are ChoiceFields. I was going to use ModelChoiceFields, but am unsure whether it is better to use querysets rather than ChoiceFields. On Saturday, August 29, 2020 at 7:43:47 PM UTC-6 Yvonne Calhoun Pasquali wrote: > Hello, > > I have a form with three fields (1

Filtering ChoiceField by Multiple id's and same value ('name')

2020-08-29 Thread Yvonne Calhoun Pasquali
Hello, I have a form with three fields (1 Choicefield and 2 ModelChoicefields): The Choicefield displays names of objects by id's. However, in my db, I have multiple objects with the same name. I am trying to filter these objects by "species" and "gender" (the two ModelChoiceFields). I would