Skip to content

Commit 85da376

Browse files
authored
Fix the setup of the cookbook example
`ingredients` and `recipes` from [examples/cookbook](https://github.com/graphql-python/graphene-django/tree/master/examples/cookbook) are included in cookbook/cookbook. By following the tutorial `ingredients` and `recipes` are in `cookbook/`. Two possibilities : 1) There is a mistake in the doc and I can correct it by adding a `cd cookbook` (as done by the PR) 2) Correct the [examples/cookbook](https://github.com/graphql-python/graphene-django/tree/master/examples/cookbook). Solution 1 is easier but I prefer the solution 2 because it is closer of what is done in the [django tutorial](https://docs.djangoproject.com/en/1.10/intro/tutorial01/).
1 parent 22b3321 commit 85da376

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tutorial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ We will setup the project, create the following:
3131
3232
# Set up a new project with a single application
3333
django-admin.py startproject cookbook . # Note the trailing '.' character
34+
cd cookbook
3435
django-admin.py startapp ingredients
3536
3637
Now sync your database for the first time:

0 commit comments

Comments
 (0)