django/docs
Anssi Kääriäinen 99569b22d9 [1.9.x] Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.
Django's test suite often tries to load fixture files from apps that have
no fixtures at all. This creates a lot of unnecessary disabling and
enabling of constraints which can be expensive on some database.

To speed this up, loaddata now first checks if any fixture file matches.
If no fixture file is matched, then the command exits before disabling
and enabling of constraints is done.

The main benefit of this change is seen on MSSQL, where tests on
Django 1.8 run hours faster.

Backport of ee9f4686b1 from master
2015-12-31 09:05:20 -05:00
..
_ext [1.9.x] Fixed #23751 -- Fixed code snippet formatting in docs PDF. 2015-11-16 20:32:07 -05:00
_theme [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
faq [1.9.x] Fixed #25881 -- Marked Python 3.2 in Django 1.8 as unsupported at the end of 2016. 2015-12-08 12:46:14 -05:00
howto [1.9.x] Fixed #25104 -- Added httpd.conf hyperlink to modwsgi doc. 2015-12-29 11:02:07 -05:00
internals [1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples. 2015-12-23 10:50:55 -05:00
intro [1.9.x] Refs #21927 -- Added note about include() to tutorial. 2015-12-31 08:21:24 -05:00
man [1.9.x] Discouraged use of /tmp with predictable names. 2015-12-24 09:56:54 -05:00
misc [1.9.x] Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:46 -05:00
ref [1.9.x] Fixed #25748 -- Added clarification on projects vs. applications. 2015-12-30 17:51:11 -05:00
releases [1.9.x] Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. 2015-12-31 09:05:20 -05:00
topics [1.9.x] Fixed #25959 -- Updated logging example to use the django logger. 2015-12-24 10:07:56 -05:00
Makefile Added an "htmlview" target to open docs after building them. 2014-12-08 07:23:34 -05:00
README Removed sudo from pip commands in docs. 2014-09-22 15:49:48 -04:00
conf.py [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
contents.txt Removed an obsolete documentation page about admin style customization. 2012-09-10 17:19:35 -07:00
glossary.txt Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
index.txt [1.9.x] Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:03:16 -05:00
make.bat Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
spelling_wordlist [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00

README

The documentation in this tree is in plain text files and can be viewed using
any text file viewer.

It uses ReST (reStructuredText) [1], and the Sphinx documentation system [2].
This allows it to be built into other forms for easier viewing and browsing.

To create an HTML version of the docs:

* Install Sphinx (using ``pip install Sphinx`` or some other method)

* In this docs/ directory, type ``make html`` (or ``make.bat html`` on
  Windows) at a shell prompt.

The documentation in _build/html/index.html can then be viewed in a web browser.

[1] http://docutils.sourceforge.net/rst.html
[2] http://sphinx-doc.org/