'We override the `list` method here to store the URL.'

def list(self, request, *args, **kwargs):

    self.url = request.get_full_path()
    query_params = SearchQuerySerializer(data=request.query_params)
    query_params.is_valid(raise_exception=True)
    self.query_params = query_params.data
    return super(SearchView, self).list(request, *args, **kwargs)
