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']})
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))
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))