{"title":"Django 6.1.2 release notes","version":"6.1","locale":"ga","docname":"releases/6.1.2","url":"/ga/6.1/releases/6.1.2/","canonical":"https://djangodocs.dev/ga/6.1/releases/6.1.2/","summary":"Django 6.1.2 fixes one security issue with severity \"low\", three security issues with severity \"moderate\", and provides a fix for an insufficient security…","html":"<h1>Django 6.1.2 release notes<a class=\"heading-anchor\" href=\"#django-6-1-2-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>October 6, 2026</em></p>\n<p>Django 6.1.2 fixes one security issue with severity &quot;low&quot;, three security\nissues with severity &quot;moderate&quot;, and provides a fix for an insufficient\nsecurity mitigation in 6.1. It also fixes one data loss issue in 4.0, one\ninfinite loop in 5.2, and several bugs in 6.1.1.</p>\n<section id=\"bugfixes\">\n<h2>Buigdheisiúcháin<a class=\"heading-anchor\" href=\"#bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ul class=\"simple\">\n<li><p>Fixed a data loss issue in Django 4.0 where <a class=\"reference internal\" href=\"/ga/6.1/ref/contrib/gis/gdal/#gdal-raster-network\"><span class=\"std std-ref\">network rasters</span></a> were deleted by GeoDjango when closed.</p></li>\n<li><p>Fixed an infinite loop in Django 5.2 in tuple lookups (e.g. <code class=\"docutils literal notranslate\">TupleIn</code>) when\nan <code class=\"docutils literal notranslate\">F()</code> expression was used as the left-hand side (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/37291\">#37291</a>).</p></li>\n<li><p>Fixed a bug in Django 6.1 where the <code class=\"docutils literal notranslate\">fields.W225</code> system check incorrectly\nwarned that <code class=\"docutils literal notranslate\">null</code> has no effect on <code class=\"docutils literal notranslate\">GeneratedField</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/37348\">#37348</a>).</p></li>\n<li><p>Fixed a bug in Django 6.1 where the\n<a class=\"reference internal\" href=\"/ga/6.1/ref/models/database-functions/#django.db.models.functions.UUID4\" title=\"django.db.models.functions.UUID4\"><code class=\"xref py py-class docutils literal notranslate\">UUID4</code></a> function persisted uppercase\nvalues on Oracle. Any data already created using this function on Oracle\nshould be migrated to lowercase so that it can be queried correctly\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/37376\">#37376</a>).</p></li>\n<li><p>Fixed a bug in Django 6.1 where <code class=\"docutils literal notranslate\">FETCH_PEERS</code> did not batch instances\nloaded by <code class=\"docutils literal notranslate\">select_related()</code>, causing unnecessary queries\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/37344\">#37344</a>).</p></li>\n<li><p>Fixed a bug in Django 6.1 where permissions were not renamed for chained\n<a class=\"reference internal\" href=\"/ga/6.1/ref/migration-operations/#django.db.migrations.operations.RenameModel\" title=\"django.db.migrations.operations.RenameModel\"><code class=\"xref py py-class docutils literal notranslate\">RenameModel</code></a> operations, and where\npermissions with matching codenames on other models in the same app were\nalso renamed (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/37361\">#37361</a>).</p></li>\n<li><p>Fixed a visual regression in Django 6.1 where an extra empty breadcrumb was\nrendered on the admindocs model index page (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/37378\">#37378</a>).</p></li>\n</ul>\n</section>","rootId":"django-6-1-2-release-notes","toc":[{"title":"Buigdheisiúcháin","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Nótaí scaoilte","url":"/ga/6.1/releases/"}],"prev":{"docname":"releases/index","title":"Nótaí scaoilte","url":"/ga/6.1/releases/"},"next":{"docname":"releases/6.1.1","title":"Django 6.1.1 release notes","url":"/ga/6.1/releases/6.1.1/"},"formats":{"html":"/ga/6.1/releases/6.1.2/","markdown":"/ga/6.1/releases/6.1.2.md","json":"/ga/6.1/releases/6.1.2.json"},"source":"https://github.com/django/django/blob/stable/6.1.x/docs/releases/6.1.2.txt","official":"https://docs.djangoproject.com/ga/6.1/releases/6.1.2/","inVersions":["6.1"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}