django1/tests/regressiontests/admin_widgets
Karen Tracey 75b10c9c15 [1.1.X] 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. 

r12728 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 18:41:26 +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 [1.1.X] Fixed #12024: Changed admin code to avoid raising an exception when a field listed 2010-03-08 18:41:26 +00:00
tests.py [1.1.X] Fixed #11465: Ensure nonexistent pks enterd in an admin raw id field do not 2010-03-02 02:39:26 +00:00
urls.py Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`: 2009-01-16 15:32:31 +00:00
urls2.py Fixed #11532 -- Corrected the link used for edit_inline foreign keys in admin when the admin is deployed using the old style admin.root approach. Thanks to JP for the report. 2009-07-23 14:31:33 +00:00
widgetadmin.py [1.1.X] Fixed #11465: Ensure nonexistent pks enterd in an admin raw id field do not 2010-03-02 02:39:26 +00:00