Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial mistakes #1389

Open
Kyliathy opened this issue Nov 13, 2021 · 2 comments
Open

Tutorial mistakes #1389

Kyliathy opened this issue Nov 13, 2021 · 2 comments
Labels

Comments

@Kyliathy
Copy link

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
Copy link

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

@aldidoanta
Copy link

I also faced exactly the same issues as mentioned here.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants