Skip to content

djangodocs

Django 3.0
  • 6.1 current
  • 6.0
  • 5.2 LTS
  • 5.1 unsupported
  • 5.0 unsupported
  • 4.2 unsupported
  • 4.1 unsupported
  • 4.0 unsupported
  • 3.2 unsupported
  • 3.1 unsupported
  • 3.0 unsupported
  • 2.2 unsupported
  • 2.1 unsupported
  • 2.0 unsupported
简体中文
  • English
  • 简体中文
  • Français
  • 日本語
  • Bahasa Indonesia
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django 文档
  • 开始
  • 使用 Django
  • 操作指南
  • Django FAQ
  • API参考
  • 元文件和杂记
  • 术语
  • Release notes
  • Django internals
    • 为 Django 做贡献
      • 对新贡献者的建议
      • 报告问题和请求新功能
      • Triaging tickets
      • Writing code
        • 编码风格
        • Unit tests
        • Submitting patches
        • Working with Git and GitHub
        • JavaScript
      • 编写文档
      • 使 Django 本地化
      • 提交代码
    • Mailing lists
    • Organization of the Django Project
    • Django's security policies
    • Django's release process
    • Django Deprecation Timeline
    • The Django source code repository
    • How is Django Formed?
Django 3.0 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
Chinese (Simplified) translation. Untranslated passages appear in English. 35.9% Help translate
  1. Django 3.0
  2. Django internals
  3. 为 Django 做贡献

Writing codeLink to this heading#

So you'd like to write some code to improve Django. Awesome! Browse the following sections to find out how to give your code patches the best chances to be included in Django core:

  • 编码风格
  • Unit tests
  • Submitting patches
  • Working with Git and GitHub
  • JavaScript

This page as Markdown JSON

Edit this page on GitHub Official version

PreviousTriaging tickets Next编码风格

An unofficial rendering of the Django documentation.

Not affiliated with or endorsed by the Django Software Foundation. The documentation is copyright © Django Software Foundation and individual contributors, and is used under the BSD 3-Clause licence. “Django” is a trademark of the Django Software Foundation.

This translation is the work of the Django i18n community, not of this site. Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright