The Web framework for perfectionists with deadlines.
Switch branches/tags
Clone or download
apollo13 Fixed #29847 -- Ensured proper ordering in queries.
Even though good databases tend to keep the result sorted by the/one
window expression and the planners are smart enough to not resort if not
required, it is not valid to rely on this.

MariaDB specifically did return whatever order it wanted, which is
completely okay. Now we sort towards the expected data for all databases.
Latest commit c53af56 Oct 21, 2018
Failed to load latest commit information.
.tx Removed contrib-messages entry in Transifex config file Jun 29, 2016
django Fixed #29870 -- Added DurationField introspection for Oracle and Post… Oct 21, 2018
docs Removed "encoding" description in GIS tutorial. Oct 21, 2018
extras Refs #23919 -- Removed Python 2 reference in django_bash_completion. Jul 10, 2017
js_tests Added test for DateTimeShortcuts.js time zone warning. Jul 20, 2018
scripts Capitalized "Python" in docs and comments. Oct 9, 2018
tests Fixed #29847 -- Ensured proper ordering in queries. Oct 21, 2018
.editorconfig Refs #29784 -- Switched to https:// links where available. Sep 26, 2018
.eslintignore Refs #16501, #26474 -- Added xregexp.js source file. Jun 6, 2016
.eslintrc Fixed #25165 -- Removed inline JavaScript from the admin. Dec 5, 2015
.gitattributes Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions Mar 30, 2016
.gitignore Fixed #22446 -- Added tox.ini to automate pull request checks. Jul 20, 2016
.hgignore Synced .hgignore with .gitignore Jul 1, 2015
AUTHORS Fixed #29774 -- Fixed django-admin shell hang on startup. Oct 20, 2018
CONTRIBUTING.rst Added link to the code of conduct from contributing guides. Apr 17, 2015
Gruntfile.js Fixed qunit tests (coverage still missing). (#7716) Dec 19, 2016
INSTALL Fixed #27857 -- Dropped support for Python 3.4. Sep 25, 2017
LICENSE Whitespace cleanup. Oct 10, 2013
LICENSE.python Fixed #29261 -- Doc'd the reason for LICENSE.python. Jun 30, 2018 Simplified Dec 12, 2015
README.rst Added a link in README.rst for people new to IRC. Oct 24, 2017
package.json Fixed qunit tests (coverage still missing). (#7716) Dec 19, 2016
setup.cfg Refs #23919 -- Removed misc Python 2/3 references. Jan 25, 2017 Refs #28814 -- Documented Python 3.7 compatibility. Jun 28, 2018
tox.ini Refs #28814 -- Documented Python 3.7 compatibility. Jun 28, 2018


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 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:

To get more help:

To contribute to Django:

To run Django's test suite: