<commit_before>==========================
Django 1.6.2 release notes
==========================

*Under development*

This is Django 1.6.2, a bugfix release for Django 1.6.

Django's vendored version of six, :mod:`django.utils.six` has been upgraded to
the latest release (1.5.2).

Bug fixes
=========

* Prevented the base geometry object of a prepared geometry to be garbage
  collected, which could lead to crash Django (#21662).

* Fixed a crash when executing the :djadmin:`changepassword` command when the
  user object representation contained non-ASCII characters (#21627).

* The :djadmin:`collectstatic` command will raise an error rather than
  default to using the current working directory if :setting:`STATIC_ROOT` is
  not set. Combined with the ``--clear`` option, the previous behavior could
  wipe anything below the current working directory (#21581).

* Fixed mail encoding on Python 3.3.3+ (#21093).

* Fixed an issue where when
  ``settings.DATABASES['default']['AUTOCOMMIT'] = False``, the connection
  wasn't in autocommit mode but Django pretended it was.

* Fixed a regression in multiple-table inheritance ``exclude()`` queries
  (#21787).

* Added missing items to ``django.utils.timezone.__all__`` (#21880).

* Fixed a field misalignment issue with ``select_related()`` and model
  inheritance (#21413).

* Fixed join promotion for negated ``AND`` conditions (#21748).

* Oracle database introspection now works with boolean and float fields
  (#19884).

* Fixed an issue where lazy objects weren't actually marked as safe when passed
  through :func:`~django.utils.safestring.mark_safe` and could end up being
  double-escaped (#21882).<commit_msg>Updated 1.6.2 release notes for release (and linkified tickets).<commit_after>==========================
Django 1.6.2 release notes
==========================

*February 6, 2014*

This is Django 1.6.2, a bugfix release for Django 1.6. Django 1.6.2 fixes
several bugs in 1.6.1:

* Prevented the base geometry object of a prepared geometry to be garbage
  collected, which could lead to crash Django
  (`#21662 <http://code.djangoproject.com/ticket/21662>`_).

* Fixed a crash when executing the :djadmin:`changepassword` command when the
  user object representation contained non-ASCII characters
  (`#21627 <http://code.djangoproject.com/ticket/21627>`_).

* The :djadmin:`collectstatic` command will raise an error rather than
  default to using the current working directory if :setting:`STATIC_ROOT` is
  not set. Combined with the ``--clear`` option, the previous behavior could
  wipe anything below the current working directory
  (`#21581 <http://code.djangoproject.com/ticket/21581>`_).

* Fixed mail encoding on Python 3.3.3+
  (`#21093 <http://code.djangoproject.com/ticket/21093>`_).

* Fixed an issue where when
  ``settings.DATABASES['default']['AUTOCOMMIT'] = False``, the connection
  wasn't in autocommit mode but Django pretended it was.

* Fixed a regression in multiple-table inheritance ``exclude()`` queries
  (`#21787 <http://code.djangoproject.com/ticket/21787>`_).

* Added missing items to ``django.utils.timezone.__all__``
  (`#21880 <http://code.djangoproject.com/ticket/21880>`_).

* Fixed a field misalignment issue with ``select_related()`` and model
  inheritance
  (`#21413 <http://code.djangoproject.com/ticket/21413>`_).

* Fixed join promotion for negated ``AND`` conditions
  (`#21748 <http://code.djangoproject.com/ticket/21748>`_).

* Oracle database introspection now works with boolean and float fields
  (`#19884 <http://code.djangoproject.com/ticket/19884>`_).

* Fixed an issue where lazy objects weren't actually marked as safe when passed
  through :func:`~django.utils.safestring.mark_safe` and could end up being
  double-escaped (`#21882 <http://code.djangoproject.com/ticket/21882>`_).

Additionally, Django's vendored version of six, :mod:`django.utils.six` has been
upgraded to the latest release (1.5.2).
{'fraction_non_alphanumeric': 0.13697585768742057, 'fraction_numerical': 0.04879288437102922, 'mean_word_length': 4.7628111273792095, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3792052', 'n_tokens_mistral': 1363, 'n_tokens_neox': 1128, 'n_words': 424}