diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-28 17:18:05 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-28 17:18:05 +0000 |
| commit | c181734fa1ceab9d917a313a0567c9a71c2c4b0b (patch) | |
| tree | 2a3f64688e59d666684dfa93da1a52642f186d0d /django/core/serializers/python.py | |
| parent | 79348d4018fd05efdcd3581b235160db4f483f7d (diff) | |
Changed create() and get_or_create() to force an insert (not update an existing value).
Backwards incompatible if you are using manually-specific primary key values
and relying on the previously documented behaviour that the new values would
always exist in the database (i.e. it would update the existing entry).
Fixed #8419.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/serializers/python.py')
0 files changed, 0 insertions, 0 deletions
