Plain Text | 51 lines | 39 code | 12 blank | 0 comment | 0 complexity | 611024a6a64014692d02058438b28fc9 MD5 | raw file
Possible License(s): BSD-3-Clause
1========================== 2Django 1.0.2 release notes 3========================== 4 5Welcome to Django 1.0.2! 6 7This is the second "bugfix" release in the Django 1.0 series, 8improving the stability and performance of the Django 1.0 codebase. As 9such, Django 1.0.2 contains no new features (and, pursuant to 10:doc:`our compatibility policy </misc/api-stability>`, maintains backwards compatibility with Django 111.0.0), but does contain a number of fixes and other 12improvements. Django 1.0.2 is a recommended upgrade for any 13development or deployment currently using or targeting Django 1.0. 14 15 16Fixes and improvements in Django 1.0.2 17====================================== 18 19The primary reason behind this release is to remedy an issue in the 20recently-released Django 1.0.1; the packaging scripts used for Django 211.0.1 omitted some directories from the final release package, 22including one directory required by ``django.contrib.gis`` and part of 23Django's unit-test suite. 24 25Django 1.0.2 contains updated packaging scripts, and the release 26package contains the directories omitted from Django 1.0.1. As such, 27this release contains all of the fixes and improvements from Django 281.0.1; see :doc:`the Django 1.0.1 release notes </releases/1.0.1>` for 29details. 30 31Additionally, in the period since Django 1.0.1 was released: 32 33* Updated Hebrew and Danish translations have been added. 34 35* The default ``__repr__`` method of Django models has been made more 36 robust in the face of bad Unicode data coming from the 37 ``__unicode__`` method; rather than raise an exception in such 38 cases, ``repr()`` will now contain the string "[Bad Unicode data]" 39 in place of the invalid Unicode. 40 41* A bug involving the interaction of Django's ``SafeUnicode`` class 42 and the MySQL adapter has been resolved; ``SafeUnicode`` instances 43 (generated, for example, by template rendering) can now be assigned 44 to model attributes and saved to MySQL without requiring an explicit 45 intermediate cast to ``unicode``. 46 47* A bug affecting filtering on a nullable ``DateField`` in SQLite has 48 been resolved. 49 50* Several updates and improvements have been made to Django's 51 documentation.