diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-08-07 09:51:32 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-08-19 09:51:28 +0300 |
| commit | 4668c142dce77c6f29fb75532c1acfa1b2d322ff (patch) | |
| tree | 0d4bfb51d43879c9e0410e42152542a3c78e828d /docs/releases | |
| parent | 40909826172374b849ddc9db8e1a8be9a8c3251b (diff) | |
Made Model.__eq__ consider proxy models equivalent
Fixed #11892, fixed #16458, fixed #14492.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.7.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 7a46b3facb..774d9d3161 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -194,6 +194,11 @@ Miscellaneous removes the ability for visitors to generate spurious HTTP 500 errors by requesting static files that don't exist or haven't been collected yet. +* The :meth:`django.db.models.Model.__eq__` method is now defined in a + way where instances of a proxy model and its base model are considered + equal when primary keys match. Previously only instances of exact same + class were considered equal on primary key match. + Features deprecated in 1.7 ========================== |
