Long-term support

Django 1.4 LTS

March 23, 2012 Python 2.5 – 2.7

All Django versions

The first long-term support release. Adds time zone support, Selenium-friendly LiveServerTestCase, and a new default project layout.

Download Django 1.4 LTS PDF Official release notes

Release notes

  • Released: March 23, 2012
  • Python: 2.5 – 2.7
  • Support: Long-term support (LTS)

Read the full notes, including backwards-incompatible changes, at docs.djangoproject.com.

New features

  • Time zone support (USE_TZ).
  • In-browser testing with LiveServerTestCase.
  • New default project layout, with manage.py at the top.
  • QuerySet.bulk_create() and prefetch_related().
  • Stronger password hashing (PBKDF2) and cryptographic signing.

Deprecated features

  • django.conf.urls.defaults: use django.conf.urls.
  • setup_environ() and execute_manager().
  • django.contrib.databrowse.