mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
54ea290e5b
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. |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_api.py | ||
test_cookie.py | ||
test_fallback.py | ||
test_middleware.py | ||
test_mixins.py | ||
test_session.py | ||
tests.py | ||
urls.py |