mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-13 05:34:20 +03:00
Add pre-commit changes
This commit is contained in:
parent
855fa596b6
commit
a05bfd27c8
|
@ -39,7 +39,9 @@ def fields_for_serializer(
|
|||
field.read_only
|
||||
and is_input
|
||||
and lookup_field != name, # don't show read_only fields in Input
|
||||
isinstance(field, serializers.HiddenField), # don't show hidden fields in Input
|
||||
isinstance(
|
||||
field, serializers.HiddenField
|
||||
), # don't show hidden fields in Input
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user