graphql-python / graphql-python/graphene

Tutorial mistakes

Offen
#1,389 5 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
🐛 bug
Vorherrschende Sprache
Python
Sterne
8.2k
Forks
818
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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'`

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.