Is there a way to elegantly use a django model as an input object type?

后端 未结 0 1060
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-20 07:17

Say I have,

class PersonNode(DjangoObjectType):
    class Meta:
        model = Person
        fields = (\'first_name\', \'last_name\', \'age\',
                          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题