mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
added support for python2.x
This commit is contained in:
parent
edc5c880d1
commit
a855222359
|
@ -99,7 +99,7 @@ class DjangoFilterConnectionField(DjangoConnectionField):
|
|||
|
||||
if not (filterset.is_bound and filterset.form.is_valid()):
|
||||
exc = {
|
||||
key: [e.message for e in error_list]
|
||||
str(key): [str(e.message) for e in error_list]
|
||||
for key, error_list in filterset.form.errors.as_data().items()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user