django1/django/db/models
Anssi Kääriäinen 6af05e7a0f Fixed model.__eq__ and __hash__ for no pk value cases
The __eq__ method now considers two instances without primary key value
equal only when they have same id(). The __hash__ method raises
TypeError for no primary key case.

Fixed #18864, fixed #18250

Thanks to Tim Graham for docs review.
2013-08-22 17:24:07 +03:00
..
fields Fixed #20946 -- model inheritance + m2m failure 2013-08-21 08:32:19 +03:00
sql Fixed #20955 -- select_related regression 2013-08-22 10:51:07 +03:00
__init__.py Fixed #20625 -- Chainable Manager/QuerySet methods. 2013-07-26 12:41:27 +03:00
aggregates.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
base.py Fixed model.__eq__ and __hash__ for no pk value cases 2013-08-22 17:24:07 +03:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Deprecated SortedDict (replaced with collections.OrderedDict) 2013-08-04 07:09:39 -04:00
expressions.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
loading.py Fixed #17667 -- Prevented app loading from skipping nonexistent apps after the first try 2013-08-05 13:34:35 -04:00
manager.py Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class. 2013-07-31 09:54:00 -04:00
options.py Fixed #9057 -- Added default_permissions model meta option. 2013-08-09 09:19:52 -04:00
query.py Fixed a regression with get_or_create and virtual fields. 2013-08-21 08:30:21 -04:00
query_utils.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
related.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
signals.py Fixed #20943 -- Weakly reference senders when caching their associated receivers 2013-08-20 01:53:58 -04:00