mirror of
https://github.com/django/django.git
synced 2024-11-20 08:24:58 +00:00
6af05e7a0f
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. |
||
---|---|---|
.. | ||
fields.txt | ||
index.txt | ||
instances.txt | ||
options.txt | ||
querysets.txt | ||
relations.txt |