Corrected typos in docs/queries.rst.

This commit is contained in:
changeling 2019-05-12 13:15:21 -05:00
parent 96908beaf7
commit 7cf4b46f57

View File

@ -30,7 +30,7 @@ Full example
class Query: class Query:
questions = graphene.List(QuestionType) questions = graphene.List(QuestionType)
question = graphene.Field(Question, question_id=graphene.String()) question = graphene.Field(QuestionType, question_id=graphene.String())
def resolve_questions(self, info, **kwargs): def resolve_questions(self, info, **kwargs):
# Querying a list # Querying a list
@ -254,7 +254,7 @@ Full example
class QuestionType(DjangoObjectType): class QuestionType(DjangoObjectType):
class Meta: class Meta:
model = Question model = Question
interaces = (relay.Node,) interfaces = (relay.Node,)
class QuestionConnection(relay.Connection): class QuestionConnection(relay.Connection):