Commit 44986668 authored by Ben Waters's avatar Ben Waters

i've had it to hear with you django

parent fcb8acd1
......@@ -5,8 +5,10 @@ from mainapp.models import Student, Major, Minor, GenEd
# form on new page
class StartTrajectoryForm(forms.Form):
majors = forms.ChoiceField(choices=Major.objects.all())
minors = forms.ChoiceField(choices=Minor.objects.all())
majors = forms.ChoiceField(choices=[(, 'major') for obj in
minors = forms.ChoiceField(choices=[(, 'minor') for obj in
class StudentForm(forms.ModelForm):
class Meta:
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