Skip to content

Commit 9539d01

Browse files
committed
Merge branch 'master' of github.com:graphql-python/graphene-django
2 parents 3aa929f + 6db3f19 commit 9539d01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Query(graphene.ObjectType):
7171
def resolve_users(self):
7272
return UserModel.objects.all()
7373

74-
schema = graphene.Schema(query=QueryRoot)
74+
schema = graphene.Schema(query=Query)
7575
```
7676

7777
Then you can simply query the schema:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ following:
8181
def resolve_users(self):
8282
return UserModel.objects.all()
8383
84-
schema = graphene.Schema(query=QueryRoot)
84+
schema = graphene.Schema(query=Query)
8585
8686
Then you can simply query the schema:
8787

0 commit comments

Comments
 (0)