Esempio n. 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})
Esempio n. 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})
Esempio n. 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})
Esempio n. 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})