Example #1
0
 def post(self):
     newSkill = Skill()
     newSkill.name =  self.request.get('skillName')
     newSkill.proficiency = self.request.get('proficiency')
     newSkill.user = users.get_current_user()
     newSkill.put()
     self.redirect('/')
Example #2
0
    def get(self):
        newSkill = Skill()
        newSkill.name =  'Java'
        newSkill.category =  '.NET'
        newSkill.proficiency = '5'
        newSkill.user = users.get_current_user()
        newSkill.put()
        



        self.redirect('/')