django/docs
Simon Charette b40a1d774d [2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField.
Introspected database constraints instead of relying on _meta.related_objects
to determine whether or not a table or a column is referenced on rename
operations.

This has the side effect of ignoring both db_constraint=False and virtual
fields such as GenericRelation which aren't backend by database level
constraints and thus shouldn't prevent the rename operations from being
performed in a transaction.

Regression in 095c1aaa89.

Thanks Tim for the additional tests and edits, and Mariusz for the review.

Backport of 9f7772e098 from master
2017-12-22 16:09:49 -05:00
..
_ext Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. 2017-06-01 19:08:59 -04:00
_theme Clarified QuerySet.iterator()'s docs on server-side cursors. 2017-06-01 15:38:30 -04:00
faq Fixed #27855 -- Updated docs for Python 3.4 support in Django 2.0. 2017-08-11 11:17:08 -04:00
howto [2.0.x] Fixed 'a'/'an' mix-ups in docs. 2017-10-30 21:47:27 -04:00
internals [2.0.x] Fixed #28929 -- Corrected QUnit examples. 2017-12-18 09:50:50 -10:00
intro [2.0.x] Fixed #28938 -- Corrected Python compatibility in the tutorial. 2017-12-18 09:13:42 -10:00
man [2.0.x] Updated man page for Django 2.0 alpha. 2017-09-22 12:26:46 -04:00
misc Updated various links in docs to avoid redirects 2017-05-22 19:28:44 +02:00
ref [2.0.x] Updated documented mysqlclient requirement to 1.3.7. 2017-12-21 19:13:32 -05:00
releases [2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField. 2017-12-22 16:09:49 -05:00
topics [2.0.x] Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs. 2017-12-06 09:24:01 -05:00
Makefile Fixed docs build with Sphinx 1.6. 2017-05-24 09:13:26 -04:00
README Removed sudo from pip commands in docs. 2014-09-22 15:49:48 -04:00
conf.py [2.0.x] Bumped django_next_version in docs config. 2017-09-22 12:21:21 -04:00
contents.txt Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
glossary.txt Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
index.txt Refs #17453 -- Fixed broken link to #django IRC logs. 2017-07-21 18:09:48 -04:00
make.bat Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
spelling_wordlist Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin. 2017-09-18 13:48:02 -04: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/