... ( #31538 ). Fixed a regression in Django 3.0 where QuerySet.values() and values_list() crashed if a queryset contained an aggregation and a subquery annotation ( #31566 ). Fixed a regression in Django 3.0 where aggregates used wrong annotations when a quer ... ( #31568 ). Fixed a regression in Django 3.0 where QuerySet.values() and values_list() crashed if a queryset contained an aggregation and an Exists() annotation on Oracle ( #31584 ). Fixed a regression in Django 3.0 where all resolved Subquery() expression ... ... ion in Django 3.0 where QuerySet.values() and values_list() crashed if a queryset contained an aggregation and Subquery() annotation that collides with a field name ( #31377 ). ... ... ed a regression in Django 3.0 where QuerySet.exists() crashed if a queryset contained an aggregation over a Subquery() ( #31109 ). Fixed a regression in Django 3.0 that caused a migration crash on PostgreSQL 10+ when adding ... ... g doesn't affect such queries ( #31990 ). Fixed a regression in Django 3.1 where a queryset would crash if it contained an aggregation and a Q object annotation ( #32007 ). Fixed a bug in Django 3.1 where a test database was not synced during creation when ... ... ( #36646 ).。 Fixed a bug in Django 5.2 where QuerySet.first() and QuerySet.last() raised an error on querysets performing aggregation that selected all fields of a composite primary key ( #36648 ). Fixed a bug in Django 5.2 where proxy models having a Comp ... ... e Django におけるテスト . This change is backwards-incompatible; see the backwards-incompatibility notes . Time zone aware aggregation The support for time zones introduced in Django 1.4 didn't work well with QuerySet.dates() : aggregation was always perfor ... med in UTC. This limitation was lifted in Django 1.6. Use QuerySet.datetimes() to perform time zone aware aggregation on a DateTimeField . Support for savepoints in SQLite Django 1.6 adds support for savepoints in SQLite, with some limitati ... en the time zone support added in Django 1.4 was active, QuerySet.dates() lookups returned unexpected results, because the aggregation was performed in UTC. To fix this, Django 1.6 introduces a new API, QuerySet.datetimes() . This requires a few changes in ... ... est django.contrib.postgres PostgreSQL-specific fields and features django.contrib.postgres.aggregates PostgreSQL specific aggregation functions django.contrib.postgres.constraints PostgreSQL specific database constraint django.contrib.postgres.expressions ... ... よび JavaScript ファイル内の Source map コメント ManifestStaticFilesStorage のサブクラスを作成し、 support_js_module_import_aggregation 属性を True に設定すると、実験的な正規表現を使用して以下にも対応できます。 JavaScript の modules import JavaScriptの modul ... es aggregation たとえば、以下のような 'css/styles.css' を定義します。 @ import url ( "../admin/css/base.css" ) ; ...これは ManifestStatic ... ... トを提供するようになりました。これを試したい場合は、 ManifestStaticFilesStorage をサブクラス化し、 support_js_module_import_aggregation 属性を True に設定してください。 新しい ManifestStaticFilesStorage.manifest_hash 属性は、マニフェスト内のすべてのファイルに ... か、または有効であるかを判断する方法がないため、MySQL での RawSQL() 集計の使用はもはやサポートされていません。代わりに 集計(Aggregation)関数 を使用してください。 その他 ドキュメント化されていない django.http.multipartparser.parse_header() 関数は削除されました ... ... グレーションを書くには モデルの高度な話題: マネージャ (Manager) | 素の SQL を扱うには | トランザクション | アグリゲーション (Aggregation) | 検索 | フィールド型を自作するには | 複数データベースを扱うには | lookup フィルタを自作するには | クエリを書くには | 条件 ... 2026年10月08日