django1/tests/admin_views
Anssi Kääriäinen 572885729e [1.7.x] Fixed #22994 -- regression with generic FK + admin list_view
The reason for the regression was that the GenericForeignKey field isn't
something meta.get_field_by_name() should return. The reason is that a
couple of places in Django expects get_field_by_name() to work this way.
It could make sense to return GFKs from get_field_by_name(), but that
should likely be done as part of meta refactoring or virtual fields
refactoring patches.

Thanks to glicerinu@gmail.com for the report and to Tim for working on
the issue.
2014-07-14 12:51:24 -04:00
..
fixtures Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
templates Fixed #21371 -- Added the block.super to admin bodyclass blocks. 2014-02-10 09:13:29 -05:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin.py [1.7.x] Fixed #22994 -- regression with generic FK + admin list_view 2014-07-14 12:51:24 -04:00
customadmin.py Fixed all E261 warnings 2013-11-02 23:50:33 -05:00
forms.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [1.7.x] Fixed #22087 -- Made AdminReadonlyField respect ModelForm Meta overrides. 2014-03-25 09:34:12 -04:00
tests.py [1.7.x] Fixed #22994 -- regression with generic FK + admin list_view 2014-07-14 12:51:24 -04:00
urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
views.py PEP8 cleanup 2013-11-02 23:50:49 -05:00