Commit 37bec5e7 authored by Daniel W Bond's avatar Daniel W Bond

Merge branch 'master' of github.com:srct/advisor

parents de4f3a70 fcb8acd1
......@@ -5,12 +5,8 @@ from mainapp.models import Student, Major, Minor, GenEd
# form on new page
class StartTrajectoryForm(forms.Form):
majors = Major.objects.all()
print majors
minors = Minor.objects.all()
print minors
major = forms.ChoiceField(majors)
minor = forms.ChoiceField(majors)
majors = forms.ChoiceField(choices=Major.objects.all())
minors = forms.ChoiceField(choices=Minor.objects.all())
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