mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-14 02:02:20 +03:00
dev
This commit is contained in:
parent
1c1e0cce15
commit
30deedcb37
|
@ -45,7 +45,7 @@ def get_model_fields(model):
|
||||||
local_fields = [
|
local_fields = [
|
||||||
(field.name, field)
|
(field.name, field)
|
||||||
for field in sorted(
|
for field in sorted(
|
||||||
list(model._meta.fields) + list(model._meta.local_many_to_many)
|
model.defined_properties().items()
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user