mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-23 01:56:54 +03:00
Removed unused schema
This commit is contained in:
parent
6673582e9d
commit
72c88a19e5
|
@ -59,7 +59,6 @@ def _(field, cls):
|
||||||
@convert_django_field.register(models.ManyToManyField)
|
@convert_django_field.register(models.ManyToManyField)
|
||||||
@convert_django_field.register(models.ManyToOneRel)
|
@convert_django_field.register(models.ManyToOneRel)
|
||||||
def _(field, cls):
|
def _(field, cls):
|
||||||
schema = cls._meta.schema
|
|
||||||
model_field = DjangoModelField(field.related_model)
|
model_field = DjangoModelField(field.related_model)
|
||||||
return ConnectionOrListField(model_field)
|
return ConnectionOrListField(model_field)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user