django1/django/db/models
Aymeric Augustin f855058c35 [1.6.x] Fixed #11811 -- Data-loss bug in queryset.update.
It's now forbidden to call queryset.update(field=instance) when instance
hasn't been saved to the database ie. instance.pk is None.

Conflicts:
	tests/queries/tests.py

Backport of b4cd8169 from master.
2013-09-06 21:59:28 -05:00
..
fields [1.6.x] Fixed #20999 - Allow overriding formfield class with choices, without subclass restrictions. 2013-08-30 17:45:14 -06:00
sql [1.6.x] Removed stale add_q() comment 2013-08-30 09:46:16 +03:00
__init__.py Added TransactionTestCase.available_apps. 2013-06-10 11:24:10 +02:00
aggregates.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
base.py [1.6.x] Fixed #11811 -- Data-loss bug in queryset.update. 2013-09-06 21:59:28 -05:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Fixed #19385 again, now with real code changes 2013-03-24 18:40:40 +02:00
expressions.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
loading.py Added TransactionTestCase.available_apps. 2013-06-10 11:24:10 +02:00
manager.py Fixed #19326 -- Added first() and last() methods to QuerySet 2013-05-21 18:52:28 +03:00
options.py [1.6.x] Fixed #20988 -- Added model meta option select_on_save 2013-08-30 09:47:34 +03:00
query.py [1.6.x] Fixed #19918 -- Modified select_for_update to run on the write database. 2013-08-06 10:58:32 -04:00
query_utils.py Converted a list comprehension into a generator expression in query_utils.py 2013-04-25 12:22:16 -05:00
related.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00
signals.py Fixed #20943 -- Weakly reference senders when caching their associated receivers 2013-08-20 02:12:50 -04:00