django1/django/db
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
..
backends Fixed #22487: Don't flush out data from before normal TestCases 2014-06-23 20:25:09 -07:00
migrations Fixed #22983: Alert when squashing RunPython operations with referred functions. 2014-07-11 19:00:39 -07:00
models Fixed #22994 -- regression with generic FK + admin list_view 2014-07-14 10:50:41 -04:00
__init__.py Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets from a different Django version. 2014-06-11 10:03:34 -04:00
transaction.py Improved a comment. Thanks intgr for the report. 2014-04-11 23:01:00 +02:00
utils.py Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS. 2014-07-03 07:42:52 -04:00