django1/django/contrib/admin
Karen Tracey f2bc4dd0a9 Fixed #12024: Changed admin code to avoid raising an exception when a field listed
in raw_id_fields has limit_choices_to specified as a Q object. 

Tweaked a test to trigger the condition and verify the fix. 

Finally, documented that limit_choices_to specified as a Q object has no effect 
on the choices available for fields listed in raw_id_fields, and removed another 
incorrect note that claimed limit_choices_to had no effect on inlines in the admin.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 18:32:24 +00:00
..
media Fixed #12705 -- Date/time and select filter widgets now work again with newly added inline forms in the admin. 2010-02-17 18:54:02 +00:00
templates Fixed #12903 - Added plural forms to a few strings in the admin actions template. 2010-03-01 14:34:07 +00:00
templatetags Fixed #11791: Put hidden input elements in the change list inside td elements so they're valid HTML. Thanks panni and mlavin. 2010-03-01 18:43:27 +00:00
views Changed a whole bunch of places to raise exception instances instead of old-style raising exception classes plus a comma. Good for the future Python 3 conversion 2010-01-10 18:36:20 +00:00
__init__.py Fixed #10887 -- Fixed a possible gotcha in admin.autodiscover() by moving import_module() outside the try/except. Thanks, lsaffre 2010-01-10 18:56:53 +00:00
actions.py Fixed #6191, #11296 -- Modified the admin deletion confirmation page to use the same object collection scheme as the actual deletion. This ensures that all objects that may be deleted are actually deleted, and that cyclic display problems are avoided. Thanks to carljm for the patch. 2010-02-26 13:17:43 +00:00
filterspecs.py Fixed #9969: choices with options groups (added in [7977]) now work correctly in the admin with list_display and list_filter. Thanks, ramiro. 2009-04-01 14:14:20 +00:00
helpers.py Fixed #12700 - Take read-only fields into account when rendering the empty form for dynamic inlines. 2010-02-01 14:13:47 +00:00
models.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
options.py Fixed #12966 - Force unicode of verbose labels in admin change messages. 2010-03-01 14:34:24 +00:00
sites.py Fixed #12933 - AdminSite.admin_view disables @csrf_view_exempt 2010-02-27 21:08:30 +00:00
util.py Fixed #6191, #11296 -- Modified the admin deletion confirmation page to use the same object collection scheme as the actual deletion. This ensures that all objects that may be deleted are actually deleted, and that cyclic display problems are avoided. Thanks to carljm for the patch. 2010-02-26 13:17:43 +00:00
validation.py ModelAdmin.fields wasn't able to refer to fields only on a custom form 2010-01-23 16:44:42 +00:00
widgets.py Fixed #12024: Changed admin code to avoid raising an exception when a field listed 2010-03-08 18:32:24 +00:00