def save(self): print "save course" course = Course(name=self.cleaned_data['course_name'], description=self.cleaned_data['description'], equipment_req=self.cleaned_data['equipment_req']) name = self.cleaned_data['course_name'] print name course.save()
def save(self): course = Course(name=self.cleaned_data['course_name'], description=self.cleaned_data['description'], equipment_req=self.cleaned_data['equipment_req']) course.save()