equal
deleted
inserted
replaced
679 |
679 |
680 def __init__(self, *args, **kwargs): |
680 def __init__(self, *args, **kwargs): |
681 super(PickManyField, self).__init__(*args, **kwargs) |
681 super(PickManyField, self).__init__(*args, **kwargs) |
682 |
682 |
683 |
683 |
684 class PickQuantField(forms.MultipleChoiceField): |
684 class PickQuantField(forms.ChoiceField): |
685 """Stub for customizing the multiple choice field. |
685 """Stub for customizing the choice field. |
686 """ |
686 """ |
687 #TODO(james): Ensure that more than one quant cannot be selected |
|
688 |
687 |
689 def __init__(self, *args, **kwargs): |
688 def __init__(self, *args, **kwargs): |
690 super(PickQuantField, self).__init__(*args, **kwargs) |
689 super(PickQuantField, self).__init__(*args, **kwargs) |
691 |
690 |
692 |
691 |