graphene
graphene copied to clipboard
Tutorial mistakes
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 are you able to provide a PR for this? Thank you.
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.