... m subclasses that rely on overriding undocumented, internal underscore methods. DEFAULT_AUTO_FIELD setting now defaults to BigAutoField Since Django 3.2, when the DEFAULT_AUTO_FIELD setting was added, the default startproject template's settings.py contained ... : DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" and the default startapp template's AppConfig contained: default_auto_field = "django.db.models.BigAutoField" At that tim ... django.db.models.AutoField for backwards compatibility. In Django 6.0, DEFAULT_AUTO_FIELD now defaults to django.db.models.BigAutoField and the aforementioned lines in the project and app templates are removed. Most projects shouldn't be affected, since Djan ... ... aint() のバリデーションが正しく行われないバグが修正されました ( #33905 )。 Django 4.1 で、PostgreSQL において AutoField 、 BigAutoField 、または SmallAutoField を追加する際に、誤ったマイグレーションが生成されるリグレッションが修正されました ( #33919 )。 Djan ... go 4.1 で、PostgreSQL において AutoField 、 BigAutoField 、または SmallAutoField を OneToOneField に変更する際にマイグレーションがクラッシュするリグレッションが修正されました ( #3 ... ... lt value for DEFAULT_AUTO_FIELD is AutoField . Starting with 3.2 new projects are generated with DEFAULT_AUTO_FIELD set to BigAutoField . Also, new apps are generated with AppConfig.default_auto_field set to BigAutoField . In a future Django release the defa ... ult value of DEFAULT_AUTO_FIELD will be changed to BigAutoField . To avoid unwanted migrations in the future, either explicitly set DEFAULT_AUTO_FIELD to AutoField : DEFAULT_AUTO_FIELD = ... ... now applied. バグ修正 Corrected detection of GDAL 3.2 on Windows ( #32544 ). Fixed a bug in Django 3.2 where subclasses of BigAutoField and SmallAutoField were not allowed for the DEFAULT_AUTO_FIELD setting ( #32620 ). Fixed a regression in Django 3.2 that c ... ... ey of an inline formset's model), or a natural or UUID primary key included in the form's fields. Models using the default BigAutoField primary key were not affected. This issue has severity "moderate" according to the Django security policy . バグ修正 Fixed ... ... ey of an inline formset's model), or a natural or UUID primary key included in the form's fields. Models using the default BigAutoField primary key were not affected. This issue has severity "moderate" according to the Django security policy . バグ修正 Fixed ... ... er a certain (database-dependent) limit. Values from 1 to 32767 are safe in all databases supported by Django. AutoField , BigAutoField , and SmallAutoField now inherit from IntegerField , BigIntegerField and SmallIntegerField respectively. System checks and ... is format when preparing DateTimeField in datetime_cast_date_sql() , datetime_extract_sql() , etc. Entries for AutoField , BigAutoField , and SmallAutoField are added to DatabaseOperations.integer_field_ranges to support the integer range validators on these ... ... ey of an inline formset's model), or a natural or UUID primary key included in the form's fields. Models using the default BigAutoField primary key were not affected. This issue has severity "moderate" according to the Django security policy . バグ修正 Fixed ... ... go_polls/apps.py from django.apps import AppConfig class PollsConfig ( AppConfig ): default_auto_field = "django.db.models.BigAutoField" name = "django_polls" label = "polls" 以下の内容の django-polls/README.rst という名前のファイルを作成します: django-polls ... ... r_inf lookups allow querying RangeField by a bound type. rangefield.contained_by now supports SmallAutoField , AutoField , BigAutoField , SmallIntegerField , and DecimalField . SearchQuery now supports 'websearch' search type on PostgreSQL 11+. SearchQuery.v ... 2026年10月08日