... ed with the label attribute of application configurations, to work around label conflicts. The name of applications can be customized in the admin with the verbose_name of application configurations. The admin automatically calls autodiscover() when Djang ... Prefetch object allows customizing prefetch operations. You can specify the QuerySet used to traverse a given relation or customize the storage location of prefetch results. This enables things like filtering prefetched relations, calling select_related( ... cells now have a field-<field_name> class in the HTML to enable style customizations. The admin's search fields can now be customized per-request thanks to the new django.contrib.admin.ModelAdmin.get_search_fields() method. The ModelAdmin.get_fields() met ... ... ink. AdminURLFieldWidget now validates the provided value using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . ... ... cookie age. django.contrib.syndication Added the language class attribute to the django.contrib.syndication.views.Feed to customize a feed language. The default value is get_language() instead of LANGUAGE_CODE . キャッシュ add_never_cache_headers() and n ... The new reporter_class parameter of AdminEmailHandler allows providing an django.views.debug.ExceptionReporter subclass to customize the traceback text sent to site ADMINS when DEBUG is False . 管理コマンド The new compilemessages --ignore option allows i ... on using the '%(app_label)s' and '%(class)s' placeholders. The new Field.descriptor_class attribute allows model fields to customize the get and set behavior by overriding their descriptors . Avg and Sum now support the distinct argument. Added SmallAutoF ... ... ink. AdminURLFieldWidget now validates the provided value using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . ... ... ing form field . Query Expressions, Conditional Expressions, and Database Functions Query Expressions allow you to create, customize, and compose complex SQL expressions. This has enabled annotate to accept expressions other than aggregates. Aggregates ar ... rmissionDenied を発生させられるようになりました。 PasswordResetForm now has a method send_mail() that can be overridden to customize the mail to be sent. The max_length of Permission.name has been increased from 50 to 255 characters. Please run the databa ... ons and their dependencies in a project. ミドルウェア The CommonMiddleware.response_redirect_class attribute allows you to customize the redirects issued by the middleware. A debug message will be logged to the django.request logger when a middleware rais ... ... ink. AdminURLFieldWidget now validates the provided value using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . ... ... on data using JSON rather than pickle . To facilitate this, Django 1.5.3 introduces a new setting, SESSION_SERIALIZER , to customize the session serialization format. For backwards compatibility, this setting defaults to using pickle . While JSON serializ ... ... now provides form fields and widgets for its geo-specialized fields. They are OpenLayers-based by default, but they can be customized to use any other JS framework. check management command added for verifying compatibility A check management command was ... me> class in the HTML so the columns header can be styled with CSS, e.g. to set a column width. The isolation level can be customized under PostgreSQL. The blocktrans template tag now respects TEMPLATE_STRING_IF_INVALID for variables not present in the co ... ll be localized (by setting localize on the form field). The labels , help_texts and error_messages options may be used to customize the default fields, see デフォルトのフィールドをオーバライドする for details. The choices argument to model fields now acc ... ... ... penlayers-osm.html template was removed. Customizing the base layer used in OpenLayers-based widgets New in Django 6.0. To customize the base layer displayed in OpenLayers-based geometry widgets, define a new layer builder in a custom JavaScript file. For ... 2026年10月08日