... atures , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.5 or older versions. We've also dropped some features, which are detailed in our deprecation plan , and we've begun the deprecation process fo ... l reliably be called. The validate_max parameter was added to BaseFormSet and formset_factory() , and ModelForm and inline versions of the same. The behavior of validation for formsets with max_num was clarified. The previously undocumented behavior that ... related to savepoints, and adjust the expected number of queries accordingly. Autocommit option for PostgreSQL In previous versions, database-level autocommit was only an option for PostgreSQL, and it was disabled by default. This option is now ignored a ... ... , and simple clickjacking protection . An updated default project layout and manage.py that removes the "magic" from prior versions. And for those who don't like the new layout, you can use custom project and app templates instead! Support for in-browser ... s with previous releases, Django 1.4 ships with some minor backwards incompatible changes ; people upgrading from previous versions of Django should read that list carefully. Python バージョン間の互換性 Django 1.4 has dropped support for Python 2.4. Pyth ... full timeline for deprecating Python 2.x and moving to Python 3.x. Django 1.4 の新機能 Support for time zones In previous versions, Django used "naive" date/times (that is, date/times without an associated time zone), leaving it up to each developer to ... ... within the same project. Learn more about the new features in the topic guide and check the upgrade instructions in older versions of the documentation. Security enhancements サードパーティライブラリである django-secure の機能の一部が Django に統合されま ... tion to define a default related name for all relational fields of a model. Pickling models and querysets across different versions of Django isn't officially supported (it may work, but there's no guarantee). An extra variable that specifies the current ... s compatible by simply setting the args class variable. However, if you don't have to keep compatibility with older Django versions, it's better to implement the new add_arguments() method as described in カスタム django-admin コマンドの作り方 . Custom t ... ... to the Django security policy . CVE-2026-111362: Server-side request forgery via crs member of GeoJSON geometries Earlier versions of the GeoJSON spec allowed specifying a coordinate reference system (CRS) by URL. Since GDAL still resolves these URLs, a ... ence inputs. Dictionary references using the DICT: prefix, including those prefixed with ESRI:: , are rejected on all GDAL versions. Full protection requires GDAL 3.9 or later. Integer SRIDs are looked up directly in the EPSG database, so prefer them whe ... n the input is untrusted. Or, if strings must be used on lower GDAL versions, compare to an allow list. The new gis.W001 system check warns when the installed version of GDAL is not at least 3.9. Thi ... ... b.sessions The "django.contrib.sessions.backends.cached_db" session backend now respects SESSION_CACHE_ALIAS . In previous versions, it always used the default cache. django.contrib.sitemaps The sitemap framework now makes use of lastmod to set a Last-Mo ... App registry consistency It is no longer possible to have multiple installed applications with the same label. In previous versions of Django, this didn't always work correctly, but didn't crash outright either. If you have two apps with the same label, ... t commands with the same name, Django loads the command from the application that comes first in INSTALLED_APPS . Previous versions loaded the command from the application that came last. This brings discovery of management commands in line with other pa ... ... ... tgreSQL. The new inspectdb --include-partitions option allows creating models for partition tables on PostgreSQL. In older versions, models are created child tables instead the parent. inspectdb now introspects DurationField for Oracle and PostgreSQL, an ... n SQLite 3.20+, just like on other backends that support deferrable constraints. These checks aren't implemented for older versions of SQLite because they would require expensive table introspection there. DiscoverRunner now skips the setup of databases ... llow_thread_sharing , is removed. Admin actions are no longer collected from base ModelAdmin classes For example, in older versions of Django: from django.contrib import admin class BaseAdmin ( admin . ModelAdmin ): actions = [ "a" ] class SubAdmin ( Bas ... ... to the Django security policy . CVE-2026-111362: Server-side request forgery via crs member of GeoJSON geometries Earlier versions of the GeoJSON spec allowed specifying a coordinate reference system (CRS) by URL. Since GDAL still resolves these URLs, a ... ence inputs. Dictionary references using the DICT: prefix, including those prefixed with ESRI:: , are rejected on all GDAL versions. Full protection requires GDAL 3.9 or later. Integer SRIDs are looked up directly in the EPSG database, so prefer them whe ... n the input is untrusted. Or, if strings must be used on lower GDAL versions, compare to an allow list. The new gis.W001 system check warns when the installed version of GDAL is not at least 3.9. Thi ... ... to the Django security policy . CVE-2026-111362: Server-side request forgery via crs member of GeoJSON geometries Earlier versions of the GeoJSON spec allowed specifying a coordinate reference system (CRS) by URL. Since GDAL still resolves these URLs, a ... ence inputs. Dictionary references using the DICT: prefix, including those prefixed with ESRI:: , are rejected on all GDAL versions. Full protection requires GDAL 3.9 or later. Integer SRIDs are looked up directly in the EPSG database, so prefer them whe ... n the input is untrusted. Or, if strings must be used on lower GDAL versions, compare to an allow list. The new gis.W001 system check warns when the installed version of GDAL is not at least 3.9. Thi ... ... s with previous releases, Django 1.5 ships with some minor backwards incompatible changes ; people upgrading from previous versions of Django should read that list carefully. One deprecated feature worth noting is the shift to "new-style" url tag. Prior ... is that DeprecationWarnings should be printed to the console in development environments the way they have been in Python versions < 2.7. The API for django.contrib.admin.ModelAdmin.message_user() method has been modified to accept additional arguments ... est.POST will no longer include data posted via HTTP requests with non form-specific content-types in the header. In prior versions, data posted with content-types other than multipart/form-data or application/x-www-form-urlencoded would still end up rep ... 2026年10月08日