コード例 #1
0
    def post(self, screen_name):
        submission = applydb.get_submission(screen_name)
        rating = self.get_argument("rating", None)
        if submission and rating != None :
            applydb.rate_submission(submission, self.current_user, float(rating))

        nextround = self.get_argument("nextround", None)
        if submission:
            submission['nextround'] = nextround
            print submission['nextround']
            applydb.update_submission(submission, {"nextround": submission['nextround']})          
コード例 #2
0
ファイル: apply.py プロジェクト: 4thshift/ApplicantTracking
 def post(self, screen_name):
     submission = applydb.get_submission(screen_name)
     rating = self.get_argument("rating", None)
     if submission and rating != None :
         applydb.rate_submission(submission, self.current_user, float(rating))
コード例 #3
0
 def post(self, screen_name):
     submission = applydb.get_submission(screen_name)
     rating = self.get_argument("rating", None)
     if submission and rating != None:
         applydb.rate_submission(submission, self.current_user,
                                 float(rating))