graphql-python / graphql-python/graphene

Tutorial mistakes

未关闭 适合新手
#1,389 5 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
🐛 bug
主要语言
Python
星标
8.2k
派生
818
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 docs.graphene-python.org/projects/django/en/latest/tutorial-plain/ 的教程开始,并在仓库中找到其源文件。确认数据库迁移命令所在的目录和 IngredientsConfig 名称,然后更新教程,并确认这两个步骤都能按文档说明正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
django, graphql, python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
72/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。