diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2007-02-04 00:54:30 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-02-04 00:54:30 +0000 |
| commit | 795de3a67ca7208e7628dffdf6723c81f71353e0 (patch) | |
| tree | dcd09646cfd391938c0d23e9c7efb0426e0c1caa /docs | |
| parent | 695302ce9214405e166ef559bdd8abb5fceaa020 (diff) | |
Fixed #2160 -- Modified object save logic to check for ``pk is None``, rather than ``bool(pk) == False``. This allows primary keys to take a value of 0. Thanks for the report, fgutierrez@aureal.com.pe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
