Reworks transaction management around autocommit and atomic(), and adds persistent database connections and a new test runner.
Download Django 1.6 PDF Official release notes
Release notes
- Released: November 6, 2013
- Python: 2.6.5 – 2.7, 3.2 – 3.3
- Support: Standard release
Read the full notes, including backwards-incompatible changes, at docs.djangoproject.com.
New features
- Autocommit by default and transaction.atomic().
- Persistent database connections (CONN_MAX_AGE).
- Test discovery with DiscoverRunner.
- Simplified default project and app templates.
- BinaryField and QuerySet.first() / last().
Deprecated features
- commit_on_success, commit_manually and TransactionMiddleware.
- django.contrib.comments (moved to django-contrib-comments).
- django.test.simple and DjangoTestSuiteRunner.
- CACHE_MIDDLEWARE_ANONYMOUS_ONLY.