django/tests/filtered_relation
ElizabethU 54ea290e5b Fixed #30651 -- Made __eq__() methods return NotImplemented for not implemented comparisons.
Changed __eq__ to return NotImplemented instead of False if compared to
an object of the same type, as is recommended by the Python data model
reference. Now these models can be compared to ANY (or other objects
with __eq__ overwritten) without returning False automatically.
2019-10-01 17:58:19 +02:00
..
__init__.py Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support. 2017-09-22 11:53:17 -04:00
models.py Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support. 2017-09-22 11:53:17 -04:00
tests.py Fixed #30651 -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00