Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Thanks for checking it out.

All documentation is in the "docs" directory and online at https://docs.djangoproject.com/en/stable/. If you're just getting started, here's how we recommend you read the docs:

  • First, read docs/intro/install.txt for instructions on installing Django.
  • Next, work through the tutorials in order (docs/intro/tutorial01.txt, docs/intro/tutorial02.txt, etc.).
  • If you want to set up an actual deployment server, read docs/howto/deployment/index.txt for instructions.
  • You'll probably want to read through the topical guides (in docs/topics) next; from there you can jump to the HOWTOs (in docs/howto) for specific problems, and check out the reference (docs/ref) for gory details.
  • See docs/README for instructions on building an HTML version of the docs.

Docs are updated rigorously. If you find any problems in the docs, or think they should be clarified in any way, please take 30 seconds to fill out a ticket here: https://code.djangoproject.com/newticket

To get more help:

To contribute to Django:

To run Django's test suite:

Recent activity

Thomas Capricelli

Thomas Capricelli pushed 5 commits to orzel/django

b7f1c05 - Revert "Fixed #22401 -- Deprecated regular expression parsing of initial SQL in favor of installing sqlparse."
1f77c27 - Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
1dba558 - Fixed #22220 -- Added more examples to reverse() documention.
0f14c0b - [1.6.x] Fixed #22220 -- Added more examples to reverse() documention.
e4b09c8 - [1.7.x] Fixed #22220 -- Added more examples to reverse() documention.
Thomas Capricelli

Thomas Capricelli pushed 7 commits to orzel/django

81491c5 - [1.7.x] Fixed #22434 -- Retain ordering on related sliced subqueries.
dc27f65 - [1.7.x] Fixed #22455 -- Documented return values for send_mail and send_mass_mail
e388c07 - [1.7.x] Fixed #22460 -- Explicity remove constraints when dropping a related field.
f537934 - Fixed #22434 -- Retain ordering on related sliced subqueries.
6da281d - Fixed #22455 -- Documented return values for send_mail and send_mass_mail
Thomas Capricelli

Thomas Capricelli pushed 15 commits to orzel/django

0e8f715 - [1.7.x] Fixed #22457 -- Fixed contributing guide w/o github set-up
5fe48e4 - [1.7.x] Fixed spelling errors in documentation.
8daa88d - [1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.
e0ca588 - [1.7.x] Added a note regarding django.contrib.auth.authenticate.
d8f60bf - [1.7.x] Added RemoteUserMiddleware to middleware reference page.
Thomas Capricelli

Thomas Capricelli pushed 6 commits to orzel/django

9fef55b - [1.7.x] Fixed #22443 -- Document smtp.EmailBackend.timeout default value
116da1c - [1.7.x] Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
5cca942 - Fixed #22443 -- Document smtp.EmailBackend.timeout default value
86dbf92 - Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
ab1e7e3 - [1.5.x] Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
Thomas Capricelli

Thomas Capricelli pushed 6 commits to orzel/django

4e08aba - Merge pull request #2553 from liavkoren-vmfarms/ticket_18586
ae47cda - Fixed #22356 -- Added a check to make sure unique_together fields are local.
c72a2c8 - Fixed #22369 -- Added count parameter to assertTemplateUsed
3c4e3c0 - Improve migrations/schema docs
38f0d11 - Refs #18586 - Refactored model get_or_create test.
Thomas Capricelli

Thomas Capricelli pushed 4 commits to orzel/django

b271687 - [1.7.x] Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
bcc07d4 - [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations.
5fe2cd5 - Merge pull request #2541 from arachnegl/22398_KEY_FUNCTION_doc_detail
e6125df - Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
Thomas Capricelli

Thomas Capricelli pushed 3 commits to orzel/django

926ded2 - [1.6.x] Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
16e9497 - [1.7.x] Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
96c1441 - Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.