Skip to content

Commit 99e2339

Browse files
Craig AndersonCraig Anderson
authored andcommitted
Correct imports in tutorial
1 parent f3d9cbc commit 99e2339

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/tutorial.rst

Lines changed: 3 additions & 3 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

0 commit comments

Comments
 (0)