from django.forms import ChoiceField


class ChoiceFieldIntegerNoValidation(ChoiceField):

    def valid_value(self, value):
        try:
            int(value)
        except TypeError:
            return False
        return True


class ChoiceFieldTextNoValidation(ChoiceField):

    def valid_value(self, value):
        return True

7ec7c5d23ed64eb705247ec5460221ed7d581262
<mask token>


class ChoiceFieldTextNoValidation(ChoiceField):

    def valid_value(self, value):
        return True

<mask token>


class ChoiceFieldIntegerNoValidation(ChoiceField):
    <mask token>


class ChoiceFieldTextNoValidation(ChoiceField):

    def valid_value(self, value):
        return True

<mask token>


class ChoiceFieldIntegerNoValidation(ChoiceField):

    def valid_value(self, value):
        try:
            int(value)
        except TypeError:
            return False
        return True


class ChoiceFieldTextNoValidation(ChoiceField):

    def valid_value(self, value):
        return True

from django.forms import ChoiceField


class ChoiceFieldIntegerNoValidation(ChoiceField):

    def valid_value(self, value):
        try:
            int(value)
        except TypeError:
            return False
        return True


class ChoiceFieldTextNoValidation(ChoiceField):

    def valid_value(self, value):
        return True
