mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-14 02:02:20 +03:00
fix meta model
This commit is contained in:
parent
8b1d1874ed
commit
3c16928ed2
|
@ -127,7 +127,7 @@ class DjangoObjectType(ObjectType):
|
||||||
if not is_valid_neomodel_model(type(root)):
|
if not is_valid_neomodel_model(type(root)):
|
||||||
raise Exception(('Received incompatible instance "{}".').format(root))
|
raise Exception(('Received incompatible instance "{}".').format(root))
|
||||||
|
|
||||||
model = root._meta.model._meta.concrete_model
|
model = root._meta.model
|
||||||
return model == cls._meta.model
|
return model == cls._meta.model
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue
Block a user