Simon Charette a301061f88 [1.8.x] Fixed #23940 -- Allowed model fields to be named exact.
An explicit `__exact` lookup in the related managers filters
was interpreted as a reference to a foreign `exact` field.

Thanks to Trac alias zhiyajun11 for the report, Josh for the investigation,
Loïc for the test name and Tim for the review.

Backport of eb4cdfbdd64a95b303eaaa40a070521aa58362fd from master
2015-01-29 14:42:28 -05:00
..
2015-01-14 09:31:24 +01:00
2015-01-16 17:06:32 -05:00