Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In the form in the action write the name of the function or leave it empty
then in the function where the request is being processed
query=request.GET.get("q")
Then the logic
Use get parameters, for the view, I would use ListView to write my own get_queryset method, which, in the case of get requests, filters the selection, and I would write the form if there is a need to search for some periods or min max. But there are also solutions like https://github.com/liberation/django-elasticsearch with their own approaches.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question