예제 #1
0
 def move_down(self):
     """
     Changes the position value with next row
     """
     return move_down(
         self, "position", self.election_instance.num_lists, {"election_instance": self.election_instance.id}
     )
예제 #2
0
 def move_down(self):
     """
     Changes the position value with next row
     """
     return move_down(
         self,
         "position",
         self.election_party_instance.list_length,
         {"election_party_instance": self.election_party_instance.id},
     )
예제 #3
0
 def move_down(self):
     '''
     Changes the position value with next row
     '''
     return move_down(self, 'position', 1000,
                      {'questionset': self.questionset.id})
예제 #4
0
 def move_down(self):
     '''
     Changes the position value with next row
     '''
     return move_down(self, 'position', self.election_instance.num_lists, {'election_instance': self.election_instance.id})
예제 #5
0
 def move_down(self):
     '''
     Changes the position value with next row
     '''
     return move_down(self, 'position', self.election_party_instance.list_length, {'election_party_instance': self.election_party_instance.id})
예제 #6
0
 def move_down(self):
     '''
     Changes the position value with next row
     '''
     return move_down(self, 'position', 1000, {'questionset': self.questionset.id})