示例#1
0
 def get_url(self):
     choice_num = self.model.get_num()
     return reverse(self.collection, (), {'poll_id':self.model.poll.id, 'choice_num':choice_num})
示例#2
0
 def get_url(self):
     return reverse(self, (), {'poll_id':self.model.poll.id})
示例#3
0
 def get_url(self):
     choice_num = self.model.get_num()
     return reverse(self.collection, (), {
         'poll_id': self.model.poll.id,
         'choice_num': choice_num
     })
示例#4
0
 def get_url(self):
     return reverse(self.collection, (), {'selling_id': self.model.selling.id, 'payment_id':self.model.id})
示例#5
0
 def get_url(self):
     return reverse(self, (), {'poll_id': self.model.poll.id})