That makes much more sense. It's my fault for not reading the Django docs
properly, but I don't seem to soak in the concepts at all by simply
reading.
I went with a ListView + get_queryset override. I haven't managed to get
the filter to work but the search itself is working properly.
On Monday, 23 October 2017 16:59:36 UTC+1, Jack wrote:
>
> This is a semi-long question. Please let me know wherever I make a
> mistake.
>
> I'm building a search form with 4 required choices, 1 of the choices is a
> CharField with a max_length of 3. The other 3 choices are ChoiceField's.
>
This is a semi-long question. Please let me know wherever I make a mistake.
I'm building a search form with 4 required choices, 1 of the choices is a
CharField with a max_length of 3. The other 3 choices are ChoiceField's.
Here is a picture of what the search form looks like:
3 matches
Mail list logo