graphql-python / graphene

GraphQL framework for Python
http://graphene-python.org/
MIT License
8.08k stars 822 forks source link

Tutorial mistakes #1389

Open Kyliathy opened 2 years ago

Kyliathy commented 2 years ago

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'

theodesp commented 2 years ago

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

aldidoanta commented 1 year ago

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.