---
title: "贡献代码"
version: 6.1
locale: zh-hans
source: https://docs.djangoproject.com/zh-hans/6.1/internals/contributing/writing-code/
canonical: https://djangodocs.dev/zh-hans/6.1/internals/contributing/writing-code/
---
# 贡献代码

所以你想编写一些代码、文档或测试来改进 Django？有几种方式可以帮助 Django 的开发。

## 教程

Django 教程包含一个完整的部分，逐步引导你完成贡献代码的过程。

- [编写你的第一个 Django 贡献](/zh-hans/6.1/intro/contributing/)

## 如何引导

如果你已经对流程和原则有了一定的了解，我们的文档还包含有关特定主题的有用指导：

- [How to submit a patch to Django for new and/or fixed behavior](/zh-hans/6.1/internals/contributing/writing-code/submitting-patches/)
- [How to write and run tests](/zh-hans/6.1/topics/testing/overview/)
- [How to run Django's unit tests](/zh-hans/6.1/internals/contributing/writing-code/unit-tests/)
- [How to work with Git and GitHub](/zh-hans/6.1/internals/contributing/writing-code/working-with-git/)

## 相关主题

了解我们的工作方式和采用的约定非常重要。

- [编码风格](/zh-hans/6.1/internals/contributing/writing-code/coding-style/)
- [JavaScript 代码](/zh-hans/6.1/internals/contributing/writing-code/javascript/)
- [可访问性](/zh-hans/6.1/internals/contributing/accessibility/)
- [提交代码](/zh-hans/6.1/internals/contributing/committing-code/)

我们维护了一个适合首次或经验不足的贡献者的小问题精选列表，使用“easy pickings”过滤器。强烈推荐那些希望做出贡献的贡献者查看这些问题。

- 浏览 [easy pickings](https://code.djangoproject.com/query?status=!closed&easy=1) 工单。
