From a822e5836d58a42ebb4e2e72168eb4941c610d2c Mon Sep 17 00:00:00 2001 From: Bryan Date: Thu, 13 Mar 2014 19:41:58 -0400 Subject: [PATCH] Not sure how this stuck around through the merge --- karmaworld/apps/courses/forms.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/karmaworld/apps/courses/forms.py b/karmaworld/apps/courses/forms.py index 02915a6..fc97194 100644 --- a/karmaworld/apps/courses/forms.py +++ b/karmaworld/apps/courses/forms.py @@ -23,7 +23,6 @@ from karmaworld.apps.courses.models import Course from karmaworld.apps.courses.models import School from karmaworld.apps.courses.models import Professor from karmaworld.apps.courses.models import Department -from karmaworld.apps.courses.models import ProfessorTaught class ProfessorForm(NiceErrorModelForm, ACFieldModelForm): @@ -152,17 +151,3 @@ class CourseForm(NiceErrorModelForm, DependentModelForm): self._errors[hfn] = [settings.HONEYPOT_ERROR] del cleaned_data[hfn] return cleaned_data - - -class ProfessorTaughtForm(NiceErrorModelForm, DependentModelForm): - """ Create an association between the chosen Professor and Course. """ - - class Meta: - model = ProfessorTaught - # no actual fields - fields = tuple() - # pass professor and course data onto appropriate forms. - model_fields = { - 'professor': ProfessorForm, - 'course': CourseForm, - } -- 2.25.1