---
title: "为 Django 做贡献"
version: 3.2
locale: zh-hans
source: https://docs.djangoproject.com/zh-hans/3.2/internals/contributing/
canonical: https://djangodocs.dev/zh-hans/3.2/internals/contributing/
---
# 为 Django 做贡献

Django is a community that lives on its volunteers. As it keeps growing, we
always need more people to help others. You can contribute in many ways, either
on the framework itself or in the wider ecosystem.

## Work on the Django framework

The work on Django itself falls into three major areas:

****Writing code** 💻**

  Fix a bug, or add a new feature. You can make a pull request and see **your
  code** in the next version of Django!

  Start from the [编写代码](/zh-hans/3.2/internals/contributing/writing-code/) docs.

****Writing documentation** ✍️**

  Django's documentation is one of its key strengths. It's informative
  and thorough. You can help to improve the documentation and keep it
  relevant as the framework evolves.

  See [编写文档](/zh-hans/3.2/internals/contributing/writing-documentation/) for more.

****Localizing Django** 🗺️**

  Django is translated into over 100 languages - There's even some
  translation for Klingon?! The i18n team are always looking for translators
  to help maintain and increase language reach.

  See [使 Django 本地化](/zh-hans/3.2/internals/contributing/localizing/) to help translate Django.

If you think working *with* Django is fun, wait until you start working *on*
it. Really, **ANYONE** can do something to help make Django better and greater!

This contributing guide contains everything you need to know to help build the
Django Web framework. Browse the following sections to find out how:

- [对新贡献者的建议](/zh-hans/3.2/internals/contributing/new-contributors/)

  - [快速入门](/zh-hans/3.2/internals/contributing/new-contributors/#first-steps)
  - [方针](/zh-hans/3.2/internals/contributing/new-contributors/#guidelines)
- [报告问题和请求新功能](/zh-hans/3.2/internals/contributing/bugs-and-features/)

  - [报告问题](/zh-hans/3.2/internals/contributing/bugs-and-features/#reporting-bugs)
  - [报告用户界面的 bug 和功能](/zh-hans/3.2/internals/contributing/bugs-and-features/#reporting-user-interface-bugs-and-features)
  - [请求的功能](/zh-hans/3.2/internals/contributing/bugs-and-features/#requesting-features)
  - [我们如何作出决定](/zh-hans/3.2/internals/contributing/bugs-and-features/#how-we-make-decisions)
- [分类工单](/zh-hans/3.2/internals/contributing/triaging-tickets/)

  - [分诊工作流](/zh-hans/3.2/internals/contributing/triaging-tickets/#triage-workflow)
  - [分类阶段](/zh-hans/3.2/internals/contributing/triaging-tickets/#triage-stages)
  - [其他分类属性](/zh-hans/3.2/internals/contributing/triaging-tickets/#other-triage-attributes)
  - [关闭工单](/zh-hans/3.2/internals/contributing/triaging-tickets/#closing-tickets)
  - [我能帮你怎么做分类？](/zh-hans/3.2/internals/contributing/triaging-tickets/#how-can-i-help-with-triaging)
  - [平等回归](/zh-hans/3.2/internals/contributing/triaging-tickets/#bisecting-a-regression)
- [编写代码](/zh-hans/3.2/internals/contributing/writing-code/)

  - [编码风格](/zh-hans/3.2/internals/contributing/writing-code/coding-style/)
  - [单元测试集](/zh-hans/3.2/internals/contributing/writing-code/unit-tests/)
  - [提交补丁](/zh-hans/3.2/internals/contributing/writing-code/submitting-patches/)
  - [使用 Git 和 GitHub 工作](/zh-hans/3.2/internals/contributing/writing-code/working-with-git/)
  - [JavaScript](/zh-hans/3.2/internals/contributing/writing-code/javascript/)
- [编写文档](/zh-hans/3.2/internals/contributing/writing-documentation/)

  - [获得原始文档](/zh-hans/3.2/internals/contributing/writing-documentation/#getting-the-raw-documentation)
  - [开始使用 Sphinx](/zh-hans/3.2/internals/contributing/writing-documentation/#getting-started-with-sphinx)
  - [文档是如何组成](/zh-hans/3.2/internals/contributing/writing-documentation/#how-the-documentation-is-organized)
  - [书写格式](/zh-hans/3.2/internals/contributing/writing-documentation/#writing-style)
  - [常用术语](/zh-hans/3.2/internals/contributing/writing-documentation/#commonly-used-terms)
  - [Django 专用术语](/zh-hans/3.2/internals/contributing/writing-documentation/#django-specific-terminology)
  - [reStructuredText 文件语法指南](/zh-hans/3.2/internals/contributing/writing-documentation/#guidelines-for-restructuredtext-files)
  - [Django 特有的标记](/zh-hans/3.2/internals/contributing/writing-documentation/#django-specific-markup)
  - [记录新功能](/zh-hans/3.2/internals/contributing/writing-documentation/#documenting-new-features)
  - [最小化图像](/zh-hans/3.2/internals/contributing/writing-documentation/#minimizing-images)
  - [一个例子](/zh-hans/3.2/internals/contributing/writing-documentation/#an-example)
  - [拼写检查](/zh-hans/3.2/internals/contributing/writing-documentation/#spelling-check)
  - [翻译文档](/zh-hans/3.2/internals/contributing/writing-documentation/#translating-documentation)
  - [`django-admin` 手册页面](/zh-hans/3.2/internals/contributing/writing-documentation/#django-admin-man-page)
- [使 Django 本地化](/zh-hans/3.2/internals/contributing/localizing/)

  - [翻译](/zh-hans/3.2/internals/contributing/localizing/#translations)
  - [格式](/zh-hans/3.2/internals/contributing/localizing/#formats)
  - [文档](/zh-hans/3.2/internals/contributing/localizing/#documentation)
- [提交代码](/zh-hans/3.2/internals/contributing/committing-code/)

  - [处理 pull 请求](/zh-hans/3.2/internals/contributing/committing-code/#handling-pull-requests)
  - [提交指南](/zh-hans/3.2/internals/contributing/committing-code/#committing-guidelines)
  - [恢复提交](/zh-hans/3.2/internals/contributing/committing-code/#reverting-commits)

## Join the Django community ❤️

We're passionate about helping Django users make the jump to contributing
members of the community. There are several other ways you can help the
Django community and others to maintain a great ecosystem to work in:

- 加入“Django论坛”。这个论坛是讨论Django框架以及使用它的应用程序和项目的地方。这也是询问和回答与安装、使用或为 Django 贡献相关的任何问题的好地方。
- 加入| django users 邮件列表并回答问题。这个邮件列表有大量的读者，我们真的想保持一个友好和有益的气氛。如果你是Django社区的新手，你应该阅读 [posting guidelines](https://code.djangoproject.com/wiki/UsingTheMailingList)。
- Join the [#django IRC channel](https://web.libera.chat/#django) on Libera.Chat and answer questions. By
  explaining Django to other users, you're going to learn a lot about the
  framework yourself.
- 关于Django的博客。我们将所有我们知道的Django博客全部放在在 "社区页面 "上；如果想让你的博客出现在该页面上，你可以在这里 "注册"。
- 贡献给开源的Django项目，写一些文档，或者把自己的代码作为一个开源的可插拔应用程序发布。可插拔应用的生态系统是Django的一大优势，请帮助我们构建它吧!

We're looking forward to working with you. Welcome aboard! ⛵️
