def save(self): course = Course.get_course(name=self.cleaned_data['course_name']) course.delete() return
def save(self): course = Course.get_course(name=self.cleaned_data['course_name']) course.set_equipment_req(self.cleaned_data['equipment_req']) course.set_description(self.cleaned_data['description'])
def save(self): print("delete " + self.cleaned_data['course_name']) course = Course.get_course(name=self.cleaned_data['course_name']) print course.name course.delete() return