summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2014-07-14 15:02:00 +0300
committerTim Graham <timograham@gmail.com>2014-07-14 10:50:41 -0400
commitefe87d3e48df9b7470a3006eeb7322f12b368fdf (patch)
tree96d5cd5323cfbdccdb47f7485a03eefa791c9b06 /tests/postgres_tests
parent9cd5201abd24ba2632753029ee1957947cdc32f5 (diff)
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.
Diffstat (limited to 'tests/postgres_tests')
0 files changed, 0 insertions, 0 deletions