django1/django
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
..
bin Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py. 2008-07-06 06:39:44 +00:00
conf Removed a comment from the top of the Hungarian translation to avoid any 2008-08-28 16:15:44 +00:00
contrib Fixed #8027: correctly validate fields/fieldsets in `ModelAdmin` validation when using custom `ModelForm`s. 2008-08-28 15:43:04 +00:00
core Fixed #7524: allow errors raised during import of a urlconf to bubble up. 2008-08-28 16:14:13 +00:00
db Changed create() and get_or_create() to force an insert (not update an existing value). 2008-08-28 17:18:05 +00:00
dispatch Fixed #8285: signal handlers that aren't functions work under DEBUG. This slightly loosens the sanity check, but things that are valid under production shouldn't fail under debug. 2008-08-25 18:24:05 +00:00
forms Fixed #7753: clean `NullBooleanField` correctly when using `HiddenInput`. Thanks to julien and ElliottM. 2008-08-28 15:06:18 +00:00
http Fixed an inconsistancy in redirects with `META['SERVER_PORT']` being either a string or an int. 2008-08-28 16:18:32 +00:00
middleware Fixed #7379: fixed a subtle corner case involving URL encoding in `CommonMiddleware` 2008-08-27 20:29:58 +00:00
shortcuts Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
template Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-aware 2008-08-26 08:08:55 +00:00
templatetags Fixed #7460 -- Made the "cache" template tag always generate keys that can be 2008-08-25 04:52:55 +00:00
test Fixed #8636: Corrected the test client to use the string '80' in the request META, rather than the integer 80. Thanks to Adam Lofts for the report and fix. 2008-08-28 11:52:50 +00:00
utils Fixed #8637: fixed timeuntil and date values. 2008-08-28 16:31:50 +00:00
views Fixed #8287: the debug page now shows the actual requested URL even if you've messed with request.path. Patch from Giuliani Vito Ivan. 2008-08-27 19:59:29 +00:00
__init__.py Bumped version number for 1.0 Beta 2 release. 2008-08-27 12:18:02 +00:00