Tutorial mistakes
Author: KyliathyCreated Nov 13, 2021Updated Jul 10, 2026
Labels🐛 bug
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'
Source: graphql-python/graphene