django/docs/releases
Loic Bistuer 17c3997f68 Fixed #21169 -- Reworked RelatedManager methods use default filtering
The `remove()` and `clear()` methods of the related managers created by
`ForeignKey`, `GenericForeignKey`, and `ManyToManyField` suffered from a
number of issues. Some operations ran multiple data modifying queries without
wrapping them in a transaction, and some operations didn't respect default
filtering when it was present (i.e. when the default manager on the related
model implemented a custom `get_queryset()`).

Fixing the issues introduced some backward incompatible changes:

- The implementation of `remove()` for `ForeignKey` related managers changed
  from a series of `Model.save()` calls to a single `QuerySet.update()` call.
  The change means that `pre_save` and `post_save` signals aren't called anymore.

- The `remove()` and `clear()` methods for `GenericForeignKey` related
  managers now perform bulk delete so `Model.delete()` isn't called anymore.

- The `remove()` and `clear()` methods for `ManyToManyField` related
  managers perform nested queries when filtering is involved, which may
  or may not be an issue depending on the database and the data itself.

Refs. #3871, #21174.

Thanks Anssi Kääriäinen and Tim Graham for the reviews.
2013-11-27 19:44:18 +02:00
..
0.95.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
0.96.txt Fixed links to DATABASE ENGINE setting. refs #19516 2012-12-24 15:38:05 -05:00
1.0-alpha-1.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.0-alpha-2.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.0-beta-2.txt Fixed #21141 -- Update Sphinx URL 2013-09-22 14:44:09 -03:00
1.0-beta.txt Whitespace cleanup. 2013-10-10 16:49:20 -04:00
1.0-porting-guide.txt Fixed #19885 -- cleaned up the django.test namespace 2013-09-09 16:03:13 -04:00
1.0.1.txt Updated obsolete links in the documentation 2012-06-28 10:49:07 +02:00
1.0.2.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
1.0.txt Adapted uses of versionchanged/versionadded to the new form. 2013-04-20 17:18:35 +02:00
1.1-alpha-1.txt Consolidated documentation for F() and Q() 2013-09-06 12:57:25 -05:00
1.1-beta-1.txt Fixed #19885 -- cleaned up the django.test namespace 2013-09-09 16:03:13 -04:00
1.1-rc-1.txt Whitespace cleanup. 2013-10-10 16:49:20 -04:00
1.1.2.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
1.1.3.txt Fixed #15253 -- Added 1.1.3 release notes, and added sections to the 1.2.4 and 1.3 release notes about the December security announcement. 2011-02-10 11:55:24 +00:00
1.1.4.txt Fixed many more ReST indentation errors, somehow accidentally missed from [16955] 2011-10-14 00:12:01 +00:00
1.1.txt Fixed #19885 -- cleaned up the django.test namespace 2013-09-09 16:03:13 -04:00
1.2-alpha-1.txt Added missing markup to docs. 2013-03-22 13:50:07 -04:00
1.2-beta-1.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.2-rc-1.txt Whitespace cleanup. 2013-10-10 16:49:20 -04:00
1.2.1.txt Fixed a number of minor misspellings. 2013-07-27 18:46:03 -07:00
1.2.2.txt Fixed #19885 -- cleaned up the django.test namespace 2013-09-09 16:03:13 -04:00
1.2.3.txt Added placeholder release notes for the 1.2.1 and 1.2.3 releases. 2011-08-26 09:31:01 +00:00
1.2.4.txt Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
1.2.5.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.2.6.txt Added basic release notes for 1.2.6 and 1.3.1. 2011-09-10 03:33:54 +00:00
1.2.7.txt Whitespace cleanup. 2013-10-10 16:49:20 -04:00
1.2.txt Django should be capitalized in text 2013-11-02 20:15:40 +01:00
1.3-alpha-1.txt Fixed #19885 -- cleaned up the django.test namespace 2013-09-09 16:03:13 -04:00
1.3-beta-1.txt Fixed #19695 -- Retitle "Form Media" to "Form Assets". 2013-07-08 13:59:54 -04:00
1.3.1.txt Added basic release notes for 1.2.6 and 1.3.1. 2011-09-10 03:33:54 +00:00
1.3.2.txt Added 1.4.1 and 1.3.2 release notes 2012-08-31 20:35:50 +02:00
1.3.3.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.3.4.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.3.5.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.3.6.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.3.7.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.3.txt Fixed #19885 -- cleaned up the django.test namespace 2013-09-09 16:03:13 -04:00
1.4-alpha-1.txt Cleaned up 1.5.4/1.4.8 release notes 2013-09-15 14:14:26 -04:00
1.4-beta-1.txt Cleaned up 1.5.4/1.4.8 release notes 2013-09-15 14:14:26 -04:00
1.4.1.txt Added 1.4.1 and 1.3.2 release notes 2012-08-31 20:35:50 +02:00
1.4.2.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.4.3.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.4.4.txt Fixed #21035 -- Changed docs to treat the acronym SQL phonetically. 2013-09-05 20:14:58 -04:00
1.4.5.txt Added missing release notes for older versions of Django 2013-08-12 14:05:25 -04:00
1.4.6.txt Changed the doc to use gender-neutral pronouns when possible. 2013-10-02 16:41:04 +02:00
1.4.7.txt Added 1.4.7/1.5.3 release notes 2013-09-10 21:07:22 -04:00
1.4.8.txt Cleaned up 1.5.4/1.4.8 release notes 2013-09-15 14:14:26 -04:00
1.4.9.txt Fixed typo in docs/releases/1.4.9.txt. 2013-10-25 07:55:05 -04:00
1.4.10.txt Added 1.4.10 release notes. 2013-11-07 09:42:25 -05:00
1.4.txt Changed the doc to use gender-neutral pronouns when possible. 2013-10-02 16:41:04 +02:00
1.5-alpha-1.txt Consolidated documentation for F() and Q() 2013-09-06 12:57:25 -05:00
1.5-beta-1.txt Consolidated documentation for F() and Q() 2013-09-06 12:57:25 -05:00
1.5.1.txt Added 1.5.1 release notes. 2013-03-28 15:03:19 -05:00
1.5.2.txt Changed the doc to use gender-neutral pronouns when possible. 2013-10-02 16:41:04 +02:00
1.5.3.txt Added 1.4.7/1.5.3 release notes 2013-09-10 21:07:22 -04:00
1.5.4.txt Cleaned up 1.5.4/1.4.8 release notes 2013-09-15 14:14:26 -04:00
1.5.5.txt Fixed spelling of compatibility. 2013-11-09 10:17:17 -05:00
1.5.txt Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change. 2013-11-18 09:32:25 -05:00
1.6.1.txt Fixed #21448 -- Fixed test client logout with cookie-based sessions 2013-11-26 20:41:51 +01:00
1.6.txt Added release note for TypedChoiceField coerce limitation 2013-11-18 18:08:59 +01:00
1.7.txt Fixed #21169 -- Reworked RelatedManager methods use default filtering 2013-11-27 19:44:18 +02:00
index.txt Fixed #21398 -- Fixed BCryptSHA256PasswordHasher with py-bcrypt and Python 3. 2013-11-09 10:11:50 -05:00
security.txt Reworked security issue list to be per-issue, not per-release. 2013-09-19 14:57:01 +08:00