django/tests/regressiontests/admin_widgets
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
..
fixtures Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`: 2009-01-16 15:32:31 +00:00
__init__.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
models.py Fixed #12024: Changed admin code to avoid raising an exception when a field listed 2010-03-08 18:32:24 +00:00
tests.py Fixed #11465: Ensure nonexistent pks enterd in an admin raw id field do not 2010-03-02 02:28:49 +00:00
urls.py Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`: 2009-01-16 15:32:31 +00:00
widgetadmin.py Fixed #11465: Ensure nonexistent pks enterd in an admin raw id field do not 2010-03-02 02:28:49 +00:00