diff --git a/graphene-django/graphene_django/forms.py b/graphene-django/graphene_django/forms.py index 8f8d0305..a54f0a5a 100644 --- a/graphene-django/graphene_django/forms.py +++ b/graphene-django/graphene_django/forms.py @@ -1,7 +1,7 @@ import binascii from django.core.exceptions import ValidationError -from django.forms import CharField, Field, IntegerField, MultipleChoiceField +from django.forms import CharField, Field, MultipleChoiceField from django.utils.translation import ugettext_lazy as _ from graphql_relay import from_global_id @@ -22,7 +22,7 @@ class GlobalIDFormField(Field): raise ValidationError(self.error_messages['invalid']) try: - IntegerField().clean(_id) + CharField().clean(_id) CharField().clean(_type) except ValidationError: raise ValidationError(self.error_messages['invalid'])