Opened 4 months ago
Last modified 3 months ago
#36402 closed Cleanup/optimization
文档小bug — at Initial Version
Reported by: | 李明 | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
在 https://docs.djangoproject.com/zh-hans/2.0/intro/reusable-apps/ 文档链接 第8小节试着构建你自己的应用包通过 ptyhon setup.py sdist (在 django-polls目录内)。这将创建一个名为
dist 的目录并构建你自己的应用包, django-polls-0.1.tar.gz。 python关键字拼错,让我这让的初学者很懵逼,希望能采纳改进,跟着步骤做的生成的包是django_polls-0.1.tar.gz 是 '_'而不是 '-' 导致我安装 (pip install --user django-polls/dist/django-polls-0.1.tar.gz) 一直找不到文件,希望能把这些错误优化掉,在这里我祝愿 Django团队越来越好!
Note:
See TracTickets
for help on using tickets.