How it works...

The following are the things happening in the get() method:

  • First, we create the form object passing the GET dictionary-like object to it. The GET object contains all of the query variables that are passed using the GET method.
  • Then, the form object is passed to the get_queryset_and_facets() method, which returns the associated values via a tuple containing two elements: QuerySet and the facets dictionary respectively.
  • The current request object and retrieved QuerySet are passed to the get_page() method, which returns the current page object.
  • Lastly, we create a context dictionary and render the response.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.160.181