{"title":"Django 1.2.2 release notes","version":"dev","locale":"en","docname":"releases/1.2.2","url":"/en/dev/releases/1.2.2/","canonical":"https://djangodocs.dev/en/dev/releases/1.2.2/","summary":"Welcome to Django 1.2.2! This is the second “bugfix” release in the Django 1.2 series, improving the stability and performance of the Django 1.2 codebase.","html":"<h1>Django 1.2.2 release notes<a class=\"heading-anchor\" href=\"#django-1-2-2-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Welcome to Django 1.2.2!</p>\n<p>This is the second “bugfix” release in the Django 1.2 series,\nimproving the stability and performance of the Django 1.2 codebase.</p>\n<p>Django 1.2.2 maintains backwards compatibility with Django\n1.2.1, but contain a number of fixes and other\nimprovements. Django 1.2.2 is a recommended upgrade for any\ndevelopment or deployment currently using or targeting Django 1.2.</p>\n<p>For full details on the new features, backwards incompatibilities, and\ndeprecated features in the 1.2 branch, see the <a class=\"reference internal\" href=\"/en/dev/releases/1.2/\"><span class=\"doc\">Django 1.2 release notes</span></a>.</p>\n<section id=\"one-new-feature\">\n<h2>One new feature<a class=\"heading-anchor\" href=\"#one-new-feature\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Ordinarily, a point release would not include new features, but in the\ncase of Django 1.2.2, we have made an exception to this rule.</p>\n<p>In order to test a bug fix that forms part of the 1.2.2 release, it\nwas necessary to add a feature – the <code class=\"docutils literal notranslate\">enforce_csrf_checks</code> flag –\nto the <a class=\"reference internal\" href=\"/en/dev/topics/testing/tools/#test-client\"><span class=\"std std-ref\">test client</span></a>. This flag forces\nthe test client to perform full CSRF checks on forms. The default\nbehavior of the test client hasn’t changed, but if you want to do\nCSRF checks with the test client, it is now possible to do so.</p>\n</section>","rootId":"django-1-2-2-release-notes","toc":[{"title":"One new feature","anchor":"one-new-feature","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.2.3","title":"Django 1.2.3 release notes","url":"/en/dev/releases/1.2.3/"},"next":{"docname":"releases/1.2.1","title":"Django 1.2.1 release notes","url":"/en/dev/releases/1.2.1/"},"formats":{"html":"/en/dev/releases/1.2.2/","markdown":"/en/dev/releases/1.2.2.md","json":"/en/dev/releases/1.2.2.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.2.2.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.2.2/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9","1.8"],"inLocales":["en"]}