django1/tests/admin_views
Anssi Kääriäinen 9cd5201abd 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 10:50:41 -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 Fixed #22994 -- regression with generic FK + admin list_view 2014-07-14 10:50:41 -04:00
customadmin.py Fixed #22218 -- Deprecated django.conf.urls.patterns. 2014-04-03 07:28:10 -04:00
forms.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #22087 -- Made AdminReadonlyField respect ModelForm Meta overrides. 2014-03-25 09:33:13 -04:00
tests.py Fixed #22994 -- regression with generic FK + admin list_view 2014-07-14 10:50:41 -04:00
urls.py Fixed #6327 -- Added has_module_permission method to BaseModelAdmin 2014-06-13 09:31:40 -04:00
views.py PEP8 cleanup 2013-11-02 23:50:49 -05:00