django1/tests/basic
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
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #20278 -- ensured .get() exceptions do not recurse infinitely 2013-05-20 18:50:40 +03:00
tests.py Fixed model.__eq__ and __hash__ for no pk value cases 2013-08-22 17:24:07 +03:00