mirror of
https://github.com/Hopiu/django.git
synced 2026-03-18 15:00:25 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| tests.py | ||