graphene icon indicating copy to clipboard operation
graphene copied to clipboard

Tutorial mistakes

Open Kyliathy opened this issue 3 years ago • 4 comments

Hey :). Don't know where else to post this so...

Found 2 mistakes in this tutorial:

https://docs.graphene-python.org/projects/django/en/latest/tutorial-plain/

Where it says: "Now sync your database for the first time:" There is no manage.py in that directory. One must go back one directory. So, cd .. first, and then execute the python manage.py migrate command.

Where it says: "Don’t forget to create & run migrations:" This will fail because in class IngredientsConfig(AppConfig): we have name = 'ingredients'. The name is wrong. It should be name = 'cookbook.ingredients'

Kyliathy avatar Nov 13 '21 13:11 Kyliathy

@Kyliathy are you able to provide a PR for this? Thank you.

theodesp avatar Jun 14 '22 13:06 theodesp

I also faced exactly the same issues as mentioned here.

According to https://github.com/graphql-python/graphene-django/pull/1224, the fixes should have been merged. However, there are no changes on the Basic Tutorial page.

aldidoanta avatar Jan 26 '23 00:01 aldidoanta