Example #1
0
 def qs_del(self):
     """
     A request string that turns this definition off.
     :return: str
     """
     return mutate_query_params(self.owner.request, {self.owner.request_param: None})
Example #2
0
 def qs_del(self):
     """
     A request string that turns this definition off.
     :return: str
     """
     return mutate_query_params(self.owner.request, {self.owner.request_param: None})
Example #3
0
 def qs_add(self):
     """
     A request string that turns this definition on.
     :return: str
     """
     return mutate_query_params(self.owner.request, {self.owner.request_param: self.slug})
Example #4
0
 def qs_add(self):
     """
     A request string that turns this definition on.
     :return: str
     """
     return mutate_query_params(self.owner.request, {self.owner.request_param: self.slug})