Exemplo n.º 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']})          
Exemplo n.º 2
0
 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)
         
Exemplo n.º 3
0
 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)
Exemplo n.º 4
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))
Exemplo n.º 5
0
 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})
Exemplo n.º 6
0
 def get(self, screen_name):
     submission = applydb.get_submission(screen_name)
     self.render('apply/admin_view.html', submission = submission, helper = self)
Exemplo n.º 7
0
 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)
Exemplo n.º 8
0
 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)
Exemplo n.º 9
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))