Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Web framework for perfectionists with deadlines.
Python JavaScript HTML CSS Shell Smarty

Fixed #25252 -- Added friendly error message on incorrect .select_rel…

…ated() use

Using select_related() after .values() or .values_list() is not possible
because .values() or .values_list() already got the values they need.
latest commit cbcf78fa94
@Y3K Y3K authored jarshwah committed
Failed to load latest commit information.
.tx Added contrib.postgres translation catalog
django Fixed #25252 -- Added friendly error message on incorrect .select_rel…
docs Clarified 404.html usage, excplicitly stated that it's used when DEBU…
extras Fixed #25222 -- Avoided installing django_bash_completion for python*…
js_tests DEP 0003 -- Added JavaScript unit tests.
scripts Removed source strings from translated po files
tests Fixed #25252 -- Added friendly error message on incorrect .select_rel…
.editorconfig Fixed #22463 -- Added code style guide and JavaScript linting (Editor…
.eslintignore Fixed #22463 -- Added code style guide and JavaScript linting (Editor…
.eslintrc Fixed JavaScript "no-eval" violation.
.gitattributes Added git attribute merge=union for release notes
.gitignore Added a note in .gitignore to discourage pull requests containing IDE…
.hgignore Synced .hgignore with .gitignore
AUTHORS Fixed #22634 -- Made the database-backed session backends more extens…
CONTRIBUTING.rst Added link to the code of conduct from contributing guides.
Gruntfile.js DEP 0003 -- Added JavaScript unit tests.
INSTALL Bumped minimum Python version requirement to 2.7 in Django 1.7.
LICENSE Whitespace cleanup. Simplified
README.rst Updated contributing link in the README.
package.json DEP 0003 -- Added JavaScript unit tests.
setup.cfg Sorted imports in files. Corrected trove classifiers for Python version support.


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:

Something went wrong with that request. Please try again.