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('/')
def get(self): newSkill = Skill() newSkill.name = 'Java' newSkill.category = '.NET' newSkill.proficiency = '5' newSkill.user = users.get_current_user() newSkill.put() self.redirect('/')