Skip to content

Fixing issues I had running through the tutorial #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
from graphene_django import DjangoObjectType
from graphene_django.filter import DjangoFilterConnectionField

from cookbook.ingredients.models import Category, Ingredient
from ingredients.models import Category, Ingredient


# Graphene will automatically map the Category model's fields onto the CategoryNode.
Expand Down Expand Up @@ -145,10 +145,10 @@ Create the parent project-level ``cookbook/schema.py``:

import graphene

import cookbook.ingredients.schema
import ingredients.schema


class Query(cookbook.ingredients.schema.Query, graphene.ObjectType):
class Query(ingredients.schema.Query, graphene.ObjectType):
# This class will inherit from multiple Queries
# as we begin to add more apps to our project
pass
Expand Down Expand Up @@ -276,7 +276,7 @@ from the command line.
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Go to `localhost:8000/graphiql <http://localhost:8000/graphiql>`__ and
Go to `localhost:8000/graphql <http://localhost:8000/graphql>`__ and
type your first query!

.. code::
Expand Down