django1/django/db/models
Malcolm Tredinnick c181734fa1 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
2008-08-28 17:18:05 +00:00
..
fields FIxed #8613: removed vestigal `FileField.save_file()`. Thanks, kratorius. 2008-08-28 16:05:09 +00:00
sql Improvements to [8608] to fix an infinite loop (for exclude(generic_relation)). 2008-08-28 05:00:23 +00:00
__init__.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
base.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
loading.py Added tests for corner case with deleting where objects are deleted in the wrong order. 2008-06-21 20:55:17 +00:00
manager.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00
options.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
query.py Changed create() and get_or_create() to force an insert (not update an existing value). 2008-08-28 17:18:05 +00:00
query_utils.py Factored out a semi-complex if-test that was used in two places. 2008-06-29 09:40:17 +00:00
related.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
signals.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00