code: def get_form_kwargs(self):
          
          kwargs = {"initial": self.get_initial()}
          if self.request.method == "GET":
              kwargs.update({"data": self.request.GET})
          kwargs.update({"searchqueryset": self.get_query_set()})
          return kwargs
docs: Returns the keyword arguments for instantiating the form.