django1/django/db/models
Luke Plant 6902824ac2 Fixed #11707 - limit_choices_to on a ForeignKey can render duplicate options in formfield
Thanks to Chris Wesseling for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 14:03:59 +00:00
..
fields Fixed #11707 - limit_choices_to on a ForeignKey can render duplicate options in formfield 2011-02-21 14:03:59 +00:00
sql Fixed #13815 -- Ensure that reverse exclude lookups on nullable foreign keys exclude null values. Thanks to bpeschier for the report and patch. 2011-02-08 14:06:02 +00:00
__init__.py Fixed #14672 - Added admin handling for on_delete=PROTECT. Thanks to jtiai for the report. 2011-01-20 00:33:32 +00:00
aggregates.py Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
base.py Fixed #13206 -- call super().__init__() in Model.__init__ to allow mixins to do things there. 2011-01-26 03:42:31 +00:00
deletion.py Fixed Python 2.4 incompatibility introduced in r15249. 2011-01-26 18:20:19 +00:00
expressions.py Fixed #10154: Allow combining F expressions with timedelta values. 2010-12-22 03:34:04 +00:00
loading.py Fixed #13348: Restored ability to load models from apps in eggs. Thanks Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule. 2010-04-15 18:44:51 +00:00
manager.py Fixed #12540, #12541 -- Added database routers, allowing for configurable database use behavior in a multi-db setup, and improved error checking for cross-database joins. 2010-01-22 14:30:06 +00:00
options.py Fixed #13987 -- Ensure that the primary key is set correctly for all models that have concrete-abstract-concrete inheritance, not just the first model. Thanks to Aramgutang for the report and patch. 2011-02-12 15:07:27 +00:00
query.py Fixed #15283 -- Made a minor performance tweak to __iter__. Thanks to lanyjie for the report. 2011-02-12 05:23:41 +00:00
query_utils.py Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
related.py Fixed #3400 -- Support for lookup separator with list_filter admin option. Thanks to DrMeers and vitek_pliska for the patch! 2010-11-21 19:29:15 +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