Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/d/i/discern-HEAD/freeform_data/forms.py   discern(Download)
from django.forms.fields import Field, FileField, IntegerField, CharField, ChoiceField, BooleanField, DecimalField, EmailField
from django.core.exceptions import ValidationError
from models import ESSAY_TYPES, GRADER_TYPES
 
log = logging.getLogger(__name__)
class EssayGradeForm(forms.Form):
    """
    A form to validate essaygrade resources
    """
    grader_type = ChoiceField(choices=GRADER_TYPES, required=True)