Answer the question
In order to leave comments, you need to log in
GET request to ListView?
I have a ListView. Is it possible to make the same method both initially return a view and accept a GET request? And it is also necessary that in the GET request there could be an arbitrary number of parameters. Those. a situation such - the server filter is necessary. The page displays a list of people and a separate checkbox list of departments (to which people belong). I think it is necessary to implement it so that this same ListView initially does not display anything when going to this page (only departments, without a list of people), and then when selecting checkboxes, the id of the departments of the people to be displayed is passed to it in the request parameters. I don't know how to implement it. :( Haven't worked with requests in django yet...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question