Skip to content

Commit 8649ffb

Browse files
authored
Merge pull request #113 from craiga/master
Fixing issues I had running through the tutorial
2 parents f3d9cbc + e063ef3 commit 8649ffb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tutorial.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
9090
from graphene_django import DjangoObjectType
9191
from graphene_django.filter import DjangoFilterConnectionField
9292
93-
from cookbook.ingredients.models import Category, Ingredient
93+
from ingredients.models import Category, Ingredient
9494
9595
9696
# Graphene will automatically map the Category model's fields onto the CategoryNode.
@@ -145,10 +145,10 @@ Create the parent project-level ``cookbook/schema.py``:
145145
146146
import graphene
147147
148-
import cookbook.ingredients.schema
148+
import ingredients.schema
149149
150150
151-
class Query(cookbook.ingredients.schema.Query, graphene.ObjectType):
151+
class Query(ingredients.schema.Query, graphene.ObjectType):
152152
# This class will inherit from multiple Queries
153153
# as we begin to add more apps to our project
154154
pass
@@ -276,7 +276,7 @@ from the command line.
276276
Starting development server at http://127.0.0.1:8000/
277277
Quit the server with CONTROL-C.
278278
279-
Go to `localhost:8000/graphiql <http://localhost:8000/graphiql>`__ and
279+
Go to `localhost:8000/graphql <http://localhost:8000/graphql>`__ and
280280
type your first query!
281281

282282
.. code::

0 commit comments

Comments
 (0)