diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2014-07-14 12:50:41 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-14 12:51:24 -0400 |
| commit | 572885729e028eae2f2b823ef87543b7c66bdb10 (patch) | |
| tree | c58b745df6cdd7c7f4fe11b71b3fc0158f1c5fb5 /docs/ref | |
| parent | 1d1debeed439ce4a685859537dd5c587f72d942c (diff) | |
[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.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
