1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00
django/docs
Anssi Kääriäinen ee9f4686b1 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.
2015-12-31 09:00:44 -05:00
..
_ext Removed a docs workaround for an old Sphinx version. 2015-11-16 18:49:32 -05:00
_theme Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
faq Fixed #25881 -- Marked Python 3.2 in Django 1.8 as unsupported at the end of 2016. 2015-12-08 10:55:49 -05:00
howto Fixed #25104 -- Added httpd.conf hyperlink to modwsgi doc. 2015-12-29 11:00:03 -05:00
internals Fixed #25969 -- Replaced render_to_response() with render() in docs examples. 2015-12-23 09:14:32 -05:00
intro Refs #21927 -- Added note about include() to tutorial. 2015-12-31 08:17:19 -05:00
man Discouraged use of /tmp with predictable names. 2015-12-24 09:54:33 -05:00
misc Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
ref Fixed #25748 -- Added clarification on projects vs. applications. 2015-12-30 17:46:53 -05:00
releases Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. 2015-12-31 09:00:44 -05:00
topics Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make request a positional argument. 2015-12-29 12:49:14 -05:00
conf.py Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
contents.txt
glossary.txt
index.txt Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
make.bat
Makefile
README
spelling_wordlist Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00

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/