... to a lowercased swappable model such as 'auth.user' ( #33515 ). Fixed a regression in Django 4.0 that caused a crash when rendering invalid inlines with readonly_fields in the admin ( #33547 ). 目次 Django 4.0.3 リリースノート バグ修正 前のトピックへ Dja ... following makemigrations generating infinite migrations ManyToManyField lowercased swappable auth user Fixed caused crash rendering クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... , unique , and exclusion constraints defined in the Meta.constraints option are now checked during model validation . Form rendering accessibility ¶ In order to aid users with screen readers, and other assistive technology, new <div> based form templates ... related controls, such as radio-lists, into fieldsets. The new templates are recommended, and will become the default form rendering style when outputting a form, like {{ form }} in a template, from Django 5.0. In order to ease adopting the new output sty ... d> to group related inputs and is easier for screen reader users to navigate. The div-based output will become the default rendering style from Django 5.0. 新しい <div> 出力スタイルの採用をスムーズにするために、2つの移行フォームレンダラークラスが利用可能で ... ... hing against phrases with unbalanced quotes ( #32649 ). Fixed a bug in Django 3.2 where variable lookup errors were logged rendering the sitemap template if alternates were not defined ( #32648 ). Fixed a regression in Django 3.2 that caused a crash when ... o exclude() multi-valued relationships ( #32650 ). Fixed a bug in Django 3.2 where variable lookup errors were logged when rendering some admin templates ( #32681 ). Fixed a bug in Django 3.2 where an admin changelist would crash when deleting objects fil ... ... , unique , and exclusion constraints defined in the Meta.constraints option are now checked during model validation . Form rendering accessibility ¶ In order to aid users with screen readers, and other assistive technology, new <div> based form templates ... related controls, such as radio-lists, into fieldsets. The new templates are recommended, and will become the default form rendering style when outputting a form, like {{ form }} in a template, from Django 5.0. In order to ease adopting the new output sty ... d> to group related inputs and is easier for screen reader users to navigate. The div-based output will become the default rendering style from Django 5.0. 新しい <div> 出力スタイルの採用をスムーズにするために、2つの移行フォームレンダラークラスが利用可能で ... ... hing against phrases with unbalanced quotes ( #32649 ). Fixed a bug in Django 3.2 where variable lookup errors were logged rendering the sitemap template if alternates were not defined ( #32648 ). Fixed a regression in Django 3.2 that caused a crash when ... o exclude() multi-valued relationships ( #32650 ). Fixed a bug in Django 3.2 where variable lookup errors were logged when rendering some admin templates ( #32681 ). Fixed a bug in Django 3.2 where an admin changelist would crash when deleting objects fil ... ... integrating template backends. It includes built-in support for the Django template language and for Jinja2 . It supports rendering templates with multiple engines within the same project. Learn more about the new features in the topic guide and check th ... _class is defined on a form, then the <label> tags for required fields will have this class present in its attributes. The rendering of non-field errors in unordered lists ( <ul> ) now includes nonfield in its list of classes to distinguish them from fiel ... and ModelMultipleChoiceField took an undocumented, untested option cache_choices . This cached querysets between multiple renderings of the same Form object. This option is subject to an accelerated deprecation and will be removed in Django 1.9. django.t ... ... redis-py 3.0.0 以降が必要です。詳細は Django における Redis を用いたキャッシュについてのドキュメント . Template based form rendering ¶ Forms , Formsets , and ErrorList are now rendered using the template engine to enhance customization. See the new render ... () , get_context() , and template_name for Form and formset rendering for Formset . マイナーな機能 ¶ django.contrib.admin ¶ The admin/base.html template now has a new block header which contai ... ntrib.gis.admin.GeoModelAdmin and OSMGeoAdmin classes are deprecated. Use ModelAdmin and GISModelAdmin instead. Since form rendering now uses the template engine, the undocumented BaseForm._html_output() helper method is deprecated. The ability to return ... ... integrating template backends. It includes built-in support for the Django template language and for Jinja2 . It supports rendering templates with multiple engines within the same project. Learn more about the new features in the topic guide and check th ... _class is defined on a form, then the <label> tags for required fields will have this class present in its attributes. The rendering of non-field errors in unordered lists ( <ul> ) now includes nonfield in its list of classes to distinguish them from fiel ... and ModelMultipleChoiceField took an undocumented, untested option cache_choices . This cached querysets between multiple renderings of the same Form object. This option is subject to an accelerated deprecation and will be removed in Django 1.9. django.t ... ... redis-py 3.0.0 以降が必要です。詳細は Django における Redis を用いたキャッシュについてのドキュメント . Template based form rendering ¶ Forms , Formsets , and ErrorList are now rendered using the template engine to enhance customization. See the new render ... () , get_context() , and template_name for Form and formset rendering for Formset . マイナーな機能 ¶ django.contrib.admin ¶ The admin/base.html template now has a new block header which contai ... ntrib.gis.admin.GeoModelAdmin and OSMGeoAdmin classes are deprecated. Use ModelAdmin and GISModelAdmin instead. Since form rendering now uses the template engine, the undocumented BaseForm._html_output() helper method is deprecated. The ability to return ... ... id ]) SQLite users need to check and update such queries. Help text of model form fields for ManyToManyField fields ¶ HTML rendering of model form fields corresponding to ManyToManyField model fields used to get the hardcoded sentence: Hold down "Control" ... ield: </ label > < input id = "id_my_field" type = "text" name = "my_field" /> If you want to keep the current behavior of rendering label_tag without the label_suffix , instantiate the form label_suffix='' . You can also customize the label_suffix on a p ... did not allow null would cause a database exception at runtime. If a NoReverseMatch exception is raised from a method when rendering a template, it is not silenced. For example, {{ obj.view_href }} will cause template rendering to fail if view_href() rais ... 2026年10月08日