You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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 thepython manage.py
migrate command.Where it says: "Don’t forget to create & run migrations:"
This will fail because in
class IngredientsConfig(AppConfig):
we havename = 'ingredients'
. The name is wrong. It should bename = 'cookbook.ingredients'
The text was updated successfully, but these errors were encountered: