django1/django
Karen Tracey 11bfe72366 Fixed #10121: Restored code lost in r9766 that prevented overwriting an already-set blank=True FileField with blank. This would happen, for instance, in the admin if an object with a FileField was edited/saved but the file not re-uploaded, resulting in the association to the previously-uploaded file being lost. Adding the ability to re-blank FileFields when they are once set is the subject of a different ticket (#7048), for now the pre-9766 behavior here has just been restored in order to avoid unexpected data loss. Thanks to Alex for help in understanding how to fix this without un-doing the intent of r9766.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16 17:30:12 +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 Closes #8836, Updated translation for Slovenian. 2009-02-13 11:04:19 +00:00
contrib Fixed tabs in source, stupid emacs. 2009-02-07 19:32:37 +00:00
core Fixed #10240 -- Restored YAML serialization with Decimal objects that broke with r9823. Thanks Alex Gaynor for the report. 2009-02-12 02:54:39 +00:00
db Fixed #10121: Restored code lost in r9766 that prevented overwriting an already-set blank=True FileField with blank. This would happen, for instance, in the admin if an object with a FileField was edited/saved but the file not re-uploaded, resulting in the association to the previously-uploaded file being lost. Adding the ability to re-blank FileFields when they are once set is the subject of a different ticket (#7048), for now the pre-9766 behavior here has just been restored in order to avoid unexpected data loss. Thanks to Alex for help in understanding how to fix this without un-doing the intent of r9766. 2009-02-16 17:30:12 +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 10075: Allowed saving of inline-edited models that use multi-table inheritance. 2009-02-03 14:02:09 +00:00
http Fixed #8278: fixed `QueryDict.update(QueryDict)`. Thanks, julien. 2008-08-29 16:49:19 +00:00
middleware Fixed #9199 -- We were erroneously only prepending "www" to the domain if we 2008-10-07 08:22:50 +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 #10014 -- Don't crash when using debug template tag inside a block node tag. 2009-01-16 08:59:02 +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 Added code to make TestSuites iterable when running on Python 2.3. (r9756 added code that iterates over them, thus broke running tests on Python 2.3, sigh.) 2009-01-17 22:04:40 +00:00
utils Fixed #5903 -- DecimalField.get_default() now correctly returns a Decimal object when the model instance was not retrieved from the database. Thanks Justin Driscoll and pigletto. 2009-02-11 20:13:17 +00:00
views Revised r9566 slightly to be backwards compatible with versions 1.0 - 1.0.2. 2009-01-09 12:41:07 +00:00
__init__.py Update django.VERSION in trunk per previous discussion 2008-09-30 17:50:44 +00:00