summaryrefslogtreecommitdiff
path: root/django/core/serializers/python.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-28 17:18:05 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-28 17:18:05 +0000
commitc181734fa1ceab9d917a313a0567c9a71c2c4b0b (patch)
tree2a3f64688e59d666684dfa93da1a52642f186d0d /django/core/serializers/python.py
parent79348d4018fd05efdcd3581b235160db4f483f7d (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