django1/django/db/models
ElizabethU 54ea290e5b Fixed -- 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
..
fields Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
functions Fixed -- Made Extract raise ValueError when using unsupported lookups for DurationField. 2019-07-12 08:08:35 +02:00
sql Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
__init__.py Fixed -- Added enumeration helpers for use in Field.choices. 2019-09-04 14:42:49 +02:00
aggregates.py Fixed -- Added support for distinct argument to Avg() and Sum(). 2019-07-31 11:22:50 +02:00
base.py Fixed -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Fixed -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
deletion.py Fixed -- Made Model.delete(keep_parents=True) preserves nested parent reverse relationships. 2019-05-06 13:04:31 +02:00
enums.py Fixed -- Added enumeration helpers for use in Field.choices. 2019-09-04 14:42:49 +02:00
expressions.py Fixed -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
indexes.py Fixed -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
lookups.py Fixed -- Added support for values with hyphens to pattern lookups for UUIDField on backends without UUID datatype. 2019-09-23 08:24:08 +02:00
manager.py Fixed -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
options.py Refs -- Allowed returning multiple fields from INSERT statements on PostgreSQL. 2019-09-09 10:51:14 +02:00
query.py Fixed -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
query_utils.py Fixed -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
signals.py Fixed imports per isort 4.3.0. 2018-02-01 09:29:46 +01:00
utils.py Refs -- Updated django.db docstring verbs according to PEP 257. 2017-02-28 09:17:27 -05:00