We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551a0d0 commit 526d34dCopy full SHA for 526d34d
graphene/contrib/django/options.py
@@ -26,7 +26,7 @@ def __init__(self, *args, **kwargs):
26
def contribute_to_class(self, cls, name):
27
super(DjangoOptions, self).contribute_to_class(cls, name)
28
if is_node(cls):
29
- self.exclude_fields += ['id']
+ self.exclude_fields = list(self.exclude_fields) + ['id']
30
self.interfaces.append(Node)
31
if not is_node(cls) and not is_base(cls):
32
return
0 commit comments