File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
90
90
from graphene_django import DjangoObjectType
91
91
from graphene_django.filter import DjangoFilterConnectionField
92
92
93
- from cookbook. ingredients.models import Category, Ingredient
93
+ from ingredients.models import Category, Ingredient
94
94
95
95
96
96
# Graphene will automatically map the Category model's fields onto the CategoryNode.
@@ -145,10 +145,10 @@ Create the parent project-level ``cookbook/schema.py``:
145
145
146
146
import graphene
147
147
148
- import cookbook. ingredients.schema
148
+ import ingredients.schema
149
149
150
150
151
- class Query (cookbook . ingredients .schema .Query , graphene .ObjectType ):
151
+ class Query (ingredients .schema .Query , graphene .ObjectType ):
152
152
# This class will inherit from multiple Queries
153
153
# as we begin to add more apps to our project
154
154
pass
@@ -276,7 +276,7 @@ from the command line.
276
276
Starting development server at http://127.0.0.1:8000/
277
277
Quit the server with CONTROL-C.
278
278
279
- Go to `localhost:8000/graphiql <http://localhost:8000/graphiql >`__ and
279
+ Go to `localhost:8000/graphql <http://localhost:8000/graphql >`__ and
280
280
type your first query!
281
281
282
282
.. code ::
You can’t perform that action at this time.
0 commit comments