Commit de695d76 authored by Ben Waters's avatar Ben Waters

running more tests

parent cd0aefb2
......@@ -5,11 +5,9 @@ from mainapp.models import Student, Major, Minor, GenEd
# form on new page
class StartTrajectoryForm(forms.Form):
def __init__(self, *args, **kwargs):
self.fields['majors'] = forms.ChoiceField(choices=Major.objects.all())
self.fields['minors'] = forms.ChoiceField(choices=Minor.objects.all())
majors = forms.ChoiceField(choices=Major.obejcts.all())
minors = forms.ChoiceField(choices=Minor.objects.all())
class StudentForm(forms.ModelForm):
class Meta:
model = Student
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment