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