Fixed #2936, #6500 -- Added a __hash__() method to Models (since we implement our...
commite1f1c2433ff35d54900d3349628fa71153613e73
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Tue, 19 Feb 2008 01:59:34 +0000 (19 01:59 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Tue, 19 Feb 2008 01:59:34 +0000 (19 01:59 +0000)
tree78051b1b8dc66484ecacfeeaa797ad1bca645384
parenta8eda965c81e6e0488ab7cd01379ba096afe12ab
Fixed #2936, #6500 -- Added a __hash__() method to Models (since we implement our own __eq__ method).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/db/models/base.py
tests/modeltests/basic/models.py