... rrect width of the admin changelist search bar on a filtered page ( #32091 ). Fixed displaying Unicode characters in forms.JSONField and read-only models.JSONField values in the admin ( #32080 ). Fixed a regression in Django 3.1 that caused a crash of Arr ... ayAgg and StringAgg with ordering on key transforms for JSONField ( #32096 ). Fixed a regression in Django 3.1 that caused a crash of __in lookup when using key transforms for JSONField in ... lookup value ( #32096 ). Fixed a regression in Django 3.1 that caused a crash of ExpressionWrapper with key transforms for JSONField ( #32096 ). Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL when adding an ExclusionConstrai ... ... peed regressions for your existing, synchronous code. It should have no noticeable effect on any existing Django projects. JSONField for all supported database backends Django now includes models.JSONField and forms.JSONField that can be used on all suppo ... s that were previously PostgreSQL-only: from django.db import models class ContactInfo ( models . Model ): data = models . JSONField () ContactInfo . objects . create ( data = { "name" : "John" , "cities" : [ "London" , "Cambridge" ], "pets" : { "dogs" : ... __has_key = "dogs" , data__cities__contains = "London" , ) . delete () If your project uses django.contrib.postgres.fields.JSONField , plus the related form field and transforms, you should adjust to use the new fields, and generate and apply a database m ... ... equestFactory request methods ( #32159 ). Fixed crash of key transforms for JSONField on PostgreSQL when using on a Subquery() annotation ( #32182 ). Fixed a regression in Django 3.1 that caused a crash of au ... uping by a Q object annotation ( #32200 ). Fixed a regression in Django 3.1 that caused suppressing connection errors when JSONField is used on SQLite ( #32224 ). Fixed a crash on SQLite, when QuerySet.values()/values_list() contained key transforms for J ... ... rocess_request() and process_response() hooks when in an async context ( #31905 ). Fixed __in lookup on key transforms for JSONField with MariaDB, MySQL, Oracle, and SQLite ( #31936 ). Fixed a regression in Django 3.1 that caused permission errors in Comm ... e in various builtin middlewares ( #31928 ). Fixed a QuerySet.order_by() crash on PostgreSQL when ordering and grouping by JSONField with a custom decoder ( #31956 ). As a consequence, fetching a JSONField with raw SQL now returns a string instead of prel ... ... related() ( #32812 ). Fixed a bug in Django 3.2 that caused a migration crash on MySQL 8.0.13+ when altering BinaryField , JSONField , or TextField to non-nullable ( #32503 ). Fixed a regression in Django 3.2 that caused a migration crash on MySQL 8.0.13+ ... when adding nullable BinaryField , JSONField , or TextField with a default value ( #32832 ). Fixed a bug in Django 3.2 where a system check would crash on a model with ... ... irst, for example with django.utils.html.escape() . CVE-2019-14234: SQL injection possibility in key and index lookups for JSONField / HStoreField Key and index lookups for django.contrib.postgres.fields.JSONField and key lookups for HStoreField were subj ... ... irst, for example with django.utils.html.escape() . CVE-2019-14234: SQL injection possibility in key and index lookups for JSONField / HStoreField Key and index lookups for django.contrib.postgres.fields.JSONField and key lookups for HStoreField were subj ... ... ew JSONNull expression provides an explicit way to represent the JSON scalar null . It can be used when saving a top-level JSONField value, or querying for top-level or nested JSON null values. See None の保存とクエリ for usage examples and some caveats. ... ecimalField.max_digits and DecimalField.decimal_places are no longer required to be set on Oracle, PostgreSQL, and SQLite. JSONField now supports negative array indexing on Oracle 21c+. The new UUID4 and UUID7 database functions were added. GeneratedField ... d. Support for GDAL 3.1 and 3.2 is removed. django.contrib.postgres Top-level elements set to None in an ArrayField with a JSONField base field are now saved as SQL NULL instead of the JSON null primitive. This matches the behavior of a standalone JSONFie ... ... gres.fields のクラス) (django.contrib.postgres.forms のクラス) DecimalValidator (django.core.validators のクラス) decoder (JSONField の属性) , [1] decompress() (MultiWidget のメソッド) (RangeWidget のメソッド) deconstruct() (Field のメソッド) decorator_fr ... ite の属性) Enclosure (django.utils.feedgenerator のクラス) encode() (base_session.BaseSessionManager のメソッド) encoder (JSONField の属性) , [1] encoding (HttpRequest の属性) end_index() (Page のメソッド) endswith field lookup type Engine (django.templa ... storefield.values icontains iendswith iexact in intersects iregex isempty isnull iso_week_day iso_year istartswith isvalid jsonfield.contained_by jsonfield.contains jsonfield.has_any_keys jsonfield.has_key jsonfield.has_keys jsonfield.key left lt lte minu ... ... irst, for example with django.utils.html.escape() . CVE-2019-14234: SQL injection possibility in key and index lookups for JSONField / HStoreField Key and index lookups for django.contrib.postgres.fields.JSONField and key lookups for HStoreField were subj ... 2026年10月08日