Beispiel #1
0
 def get_more_results_querydict(self):
     """Returns a :class:`QueryDict` for tracking whether people click on a 'more results' link."""
     url = self.get_actual_more_results_url()
     if url:
         return make_tracking_querydict(self.search_arg, url)
     return None
Beispiel #2
0
 def get_result_querydict(self, result):
     """Returns a querydict for tracking selection of the result, or ``None`` if there is no URL for the result."""
     url = self.get_actual_result_url(result)
     if url is None:
         return None
     return make_tracking_querydict(self.search_arg, url)
Beispiel #3
0
	def get_result_querydict(self, result):
		"""Returns a querydict for tracking selection of the result, or ``None`` if there is no URL for the result."""
		url = self.get_result_url(result)
		if url is None:
			return None
		return make_tracking_querydict(self.search_arg, url)
Beispiel #4
0
	def more_results_querydict(self):
		"""Returns a :class:`QueryDict` for tracking whether people click on a 'more results' link."""
		return make_tracking_querydict(self.search_arg, self.more_results_url)
Beispiel #5
0
	def get_more_results_querydict(self):
		"""Returns a :class:`QueryDict` for tracking whether people click on a 'more results' link."""
		url = self.get_actual_more_results_url()
		if url:
			return make_tracking_querydict(self.search_arg, url)
		return None