1
0
mirror of https://github.com/django/django.git synced 2025-04-02 20:46:41 +00:00
Anssi Kääriäinen efe87d3e48 Fixed #22992 -- regression in .filter(generic_fk=...) error message
Generic Foreign Keys can't be used as lhs in lookups for historical
reasons. Django 1.6 gave a FieldDoesNotExist exception when using GFKs
as lhs in lookups, but due to regression caused by lookup refactor patch
(20bab2cf9d02a5c6477d8aac066a635986e0d3f3) the exception type was
changed to AttributeError.

It might be a good idea to add support for gfk__exact and gfk__in lookups
later on.

Thanks to glicerinu@gmail.com for the report. The code in this commit
was written by Tim Graham.
2014-07-14 10:50:41 -04:00
..
2013-12-24 12:25:17 +01:00
2014-07-02 10:11:52 -04:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2014-06-25 08:37:12 -04:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2014-05-28 17:39:14 -07:00
2013-12-14 11:59:15 -05:00
2014-07-10 10:00:31 -07:00
2013-12-24 12:25:17 +01:00
2013-11-03 10:17:58 -08:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2014-06-18 07:47:13 -07:00
2013-12-14 11:59:15 -05:00
2014-02-28 09:54:53 +01:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2014-06-14 10:20:42 -04:00
2013-02-26 10:00:14 +01:00