Django 1.1.2 and 1.2 released
The Django Project has released version 1.2 of its Python Web framework. This latest release drops support for Python 2.3 (version 2.4 is now required as the minimum) and includes a number of updates, changes and new features.
Django 1.2 features model validation, adds support for multiple database connections in a single instance and includes a new feature that will improve protection against Cross-Site Request Forgery (CSRF) attacks. The new anti-CSRF security feature requires the use of a new
csrf_token template tag in all forms that Django renders. Other changes include a new user “messages” framework, a “smart” if template tag that supports comparison operators and several new hooks. Django Release Manager James Bennett also notes that, because of an update failure in the 1.2 package, of a version number config file that builds the Django documentation, an update – Django 1.2.1 – will be released later today.
The developers have also released Django 1.1.2, the second bug fix release for the 1.1.x branch of Django. The 1.1.2 update introduces the
csrf_token template tag to the 1.1.X branch as well and improves overall stability and performance. The 1.1.2 release notes include a full list of backwards-incompatible changes. The developers note that, once Django 1.3 is released, support for the 1.1 series will end.
More details about the release can be found in the release announcement blog post and release notes. Django 1.2 is available to download and an installation gude is provided. Django is released under a BSD License.
- Django 1.1.2 and Django 1.2 released, a Django mailing list post.
- DjangoCon Europe 2010, a report from The H.