django1/django/db/models
Aymeric Augustin 632b6a1a73 Fixed #17439 -- Prevented spurious queries for missing objects after prefetch_related has run.
That affects nullable foreign key, nullable one-to-one, and reverse one-to-one relations.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-11 21:11:22 +00:00
..
fields Made the caching of related and reverse related objects consistent in OneToOneFields. Fixed #13839. Refs #17439. 2012-04-10 12:29:25 +00:00
sql Fixed #17877 -- Ensured that extra WHERE clauses get correctly ANDed when they contain OR operations. Thanks to Marek Brzóska for the report, to eleather for the test case and to Adrien Lemaire for the patch. 2012-04-09 00:43:08 +00:00
__init__.py Fixed #15604 -- Changed django.db.models.permalink to use wraps() so that it doesn't eat the docstring. Thanks for the report, sfllaw. Also added tests. 2011-03-14 05:22:39 +00:00
aggregates.py Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
base.py Fixed #10498 (again) -- Made sure the improvements done in r17641 have a smaller impact on speed. Thanks to Anssi Kääriäinen for the patch and Jonas Obrist for reviewing. 2012-03-13 03:48:20 +00:00
deletion.py Fixed #18083 -- Fixed cascade deletion with proxy model of concrete subclass. Thanks Simon Charette for report and patch. 2012-04-09 22:41:20 +00:00
expressions.py Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +00:00
loading.py Fixed #7198 (again) -- Corrects a problem with string interpolation from r16876 and adds tests for the new error message. 2011-09-22 21:09:00 +00:00
manager.py Fixed #16937 - added `QuerySet.prefetch_related` to prefetch many related objects. 2011-10-05 23:14:52 +00:00
options.py Fixed #16128 - Correctly cascade-delete proxy models as if they were the concrete model class. Thanks xkennyx for the report, and Aymeric Augustin, Claude Paroz, Adam Nelson, jaap3, and Anssi Kääriäinen for work on the patch. 2012-03-05 03:41:01 +00:00
query.py Fixed #17439 -- Prevented spurious queries for missing objects after prefetch_related has run. 2012-04-11 21:11:22 +00:00
query_utils.py Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
related.py Fixed #5833 -- Modified the admin list filters to be easier to customize. Many thanks to Honza Král, Tom X. Tobin, gerdemb, eandre, sciyoshi, bendavis78 and Julien Phalip for working on this. 2011-05-03 10:44:23 +00:00
signals.py Fixed #13552 -- Added a 'using' parameter to database signals. Thanks to gmandx for the suggestion, and Andrew Godwin for the patch. 2010-08-07 06:27:52 +00:00