django1/django/db
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
..
backends Oracle also treats NULLs as largests values when ordering. 2013-08-20 12:28:59 -04:00
models Fixed model.__eq__ and __hash__ for no pk value cases 2013-08-22 17:24:07 +03:00
__init__.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
transaction.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
utils.py Revert "Fixed #20956 -- Removed useless check in django.db.utils" 2013-08-22 09:47:17 -04:00