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) tags = self.get_argument("tags", None) if submission and tags != None : applydb.tag_submission(submission, self.current_user, tags)
def post(self, screen_name): submission = applydb.get_submission(screen_name) comment = self.get_argument("comment", None) if submission and comment != None : applydb.comment_submission(submission, self.current_user, comment)
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) comment = self.get_argument("comment", None) if submission and comment != None : applydb.update_submission(submission, {"comment": comment})
def get(self, screen_name): submission = applydb.get_submission(screen_name) self.render('apply/admin_view.html', submission = submission, helper = self)
def post(self, screen_name): submission = applydb.get_submission(screen_name) tags = self.get_argument("tags", None) if submission and tags != None: applydb.tag_submission(submission, self.current_user, tags)
def post(self, screen_name): submission = applydb.get_submission(screen_name) comment = self.get_argument("comment", None) if submission and comment != None: applydb.comment_submission(submission, self.current_user, comment)
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))