mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
Corrected typos in docs/queries.rst.
This commit is contained in:
parent
96908beaf7
commit
7cf4b46f57
|
@ -30,7 +30,7 @@ Full example
|
|||
|
||||
class Query:
|
||||
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):
|
||||
# Querying a list
|
||||
|
@ -254,7 +254,7 @@ Full example
|
|||
class QuestionType(DjangoObjectType):
|
||||
class Meta:
|
||||
model = Question
|
||||
interaces = (relay.Node,)
|
||||
interfaces = (relay.Node,)
|
||||
|
||||
|
||||
class QuestionConnection(relay.Connection):
|
||||
|
|
Loading…
Reference in New Issue
Block a user