Code


Version 290 (modified by aaugustin, 14 months ago) (diff)

--

Django source-code repository, wiki and bug-report system

Django is available open-source under the BSD license.

  1. Getting the code
  2. Browsing the code online
  3. Getting involved
  4. Branches
  5. Descriptions of major changes to the codebase
  6. Under discussion
  7. More Django resources

Getting the code

Django uses Git (git) for managing its code.

Assuming you have Git installed, the following command in a terminal will fetch the most recent code for you:

git clone https://github.com/django/django.git

Django also offers "official" release tarballs at the download page.

Browsing the code online

Getting involved

Before anything, please read How to contribute to Django. You'll find out how the Django community works, and possibly save yourself much grief in the future. :)

Branches

Development of major new features for Django tends to take place in branches — copies of the main codebase focused on a particular feature. Using branches makes it easier to experiment with such sweeping changes without possibly breaking the trunk — the main line of development.

Branches may not be stable, but they offer a chance to test out bleeding-edge code before it hits the mainline. Give them a try, and remember to send feedback to the branch maintainers!

See DjangoBranches for more information, including a list of active branches.

Descriptions of major changes to the codebase

Under discussion

More Django resources

See the Django resources page for a cornucopia of unofficial articles, code samples and other information contributed by the community.