from django import forms
from allocation.models import Applicant,Choice
from django.forms import ModelForm

# class PreferenceForm(forms.Form):
#     name = forms.CharField()
#     rank = forms.IntegerField()
#     choices = forms.ModelMultipleChoiceField(queryset=Choice.objects.all())

# class PreferenceForm(ModelForm):
# 	class Meta:
# 		model = Applicant
# 		fields = ['name', 'rank', 'choices']