... ¶ class Task [ソース] ¶ Represents a Task to be run in the background. Tasks should be defined using the task() decorator. Attributes of Task cannot be modified. See modifying Tasks for details. priority ¶ The priority of the Task . Priorities must be betw ... ース] ¶ Creates a new Task with modified defaults. The existing Task is left unchanged. using allows modifying the following attributes: priority backend queue_name run_after See modifying Tasks for usage examples. enqueue ( * args , ** kwargs ) [ソース] ¶ E ... ソース] ¶ Contains context for the running Task . Context only passed to a Task if it was defined with takes_context=True . Attributes of TaskContext cannot be modified. task_result ¶ The TaskResult currently being run. attempt [ソース] ¶ The number of the ... ... ¶ class Task [ソース] ¶ Represents a Task to be run in the background. Tasks should be defined using the task() decorator. Attributes of Task cannot be modified. See modifying Tasks for details. priority ¶ The priority of the Task . Priorities must be betw ... ース] ¶ Creates a new Task with modified defaults. The existing Task is left unchanged. using allows modifying the following attributes: priority backend queue_name run_after See modifying Tasks for usage examples. enqueue ( * args , ** kwargs ) [ソース] ¶ E ... ソース] ¶ Contains context for the running Task . Context only passed to a Task if it was defined with takes_context=True . Attributes of TaskContext cannot be modified. task_result ¶ The TaskResult currently being run. attempt [ソース] ¶ The number of the ... ... ng the @display decorator has the advantage that it is now possible to use the @property decorator when needing to specify attributes on the custom method. Prior to this it was necessary to use the property() function instead after assigning the required a ... ble as they can be suggested by completion utilities in code editors. They are merely a convenience and still set the same attributes on the functions under the hood. マイナーな機能 ¶ django.contrib.admin ¶ ModelAdmin.search_fields now allows searching aga ... pressions with a custom operator class. See Functional indexes for more details. django.contrib.sitemaps ¶ The new Sitemap attributes alternates , languages and x_default allow generating sitemap alternates to localized versions of your pages. django.contr ... ... ng the @display decorator has the advantage that it is now possible to use the @property decorator when needing to specify attributes on the custom method. Prior to this it was necessary to use the property() function instead after assigning the required a ... ble as they can be suggested by completion utilities in code editors. They are merely a convenience and still set the same attributes on the functions under the hood. マイナーな機能 ¶ django.contrib.admin ¶ ModelAdmin.search_fields now allows searching aga ... pressions with a custom operator class. See Functional indexes for more details. django.contrib.sitemaps ¶ The new Sitemap attributes alternates , languages and x_default allow generating sitemap alternates to localized versions of your pages. django.contr ... ... trans and blocktrans template tags using the new context keyword. Customizable SingleObjectMixin URLConf kwargs ¶ Two new attributes, pk_url_kwarg and slug_url_kwarg , have been added to SingleObjectMixin to enable the customization of URLconf keyword arg ... nnection does not directly reference the default DatabaseWrapper object anymore and is now a proxy to access that object's attributes. If you need to access the actual DatabaseWrapper object, use django.db.connections[DEFAULT_DB_ALIAS] instead. As part of ... er --nothreading option to disable the use of threading in the development server: django-admin.py runserver --nothreading Attributes disabled in markdown when safe mode set ¶ Prior to Django 1.4, attributes were included in any markdown output regardless ... ... trans and blocktrans template tags using the new context keyword. Customizable SingleObjectMixin URLConf kwargs ¶ Two new attributes, pk_url_kwarg and slug_url_kwarg , have been added to SingleObjectMixin to enable the customization of URLconf keyword arg ... nnection does not directly reference the default DatabaseWrapper object anymore and is now a proxy to access that object's attributes. If you need to access the actual DatabaseWrapper object, use django.db.connections[DEFAULT_DB_ALIAS] instead. As part of ... er --nothreading option to disable the use of threading in the development server: django-admin.py runserver --nothreading Attributes disabled in markdown when safe mode set ¶ Prior to Django 1.4, attributes were included in any markdown output regardless ... ... m/newspaper.css" media = "print" rel = "stylesheet" > Stylesheet objects ¶ New in Django 6.1. class Stylesheet ( href , ** attributes ) [ソース] ¶ Represents a stylesheet link. The rel attribute is set to "stylesheet" . The first parameter, href , is the s ... sheet file. See the section on paths for details on how to specify paths to these files. The optional keyword arguments, **attributes , are additional HTML attributes set on the rendered <link> tag. 使用例については、 オブジェクトとしてのパス を参照してくだ ... 義したタプルです。ファイルのパスを指定する方法は パスの章 を参照してください。 Script オブジェクト ¶ class Script ( src , ** attributes ) [ソース] ¶ スクリプトファイルを表現します。 最初の引数 src は、スクリプトファイルへのパスを表す文字列です。 このパスの指 ... ... ョン回数が 320,000 から 390,000 に増加しました。 The RemoteUserBackend.configure_user() method now allows synchronizing user attributes with attributes in a remote system such as an LDAP directory. django.contrib.gis ¶ The new GEOSGeometry.make_valid() metho ... gument for modelformset_factory() and inlineformset_factory() allows preventing new objects creation. The js and css class attributes of Media now allow using hashable objects, not only path strings, as long as those objects implement the __html__() method ... (typically when decorated with the html_safe() decorator). The new BoundField.use_fieldset and Widget.use_fieldset attributes help to identify widgets where its inputs should be grouped in a <fieldset> with a <legend> . The error_messages argument ... ... ョン回数が 320,000 から 390,000 に増加しました。 The RemoteUserBackend.configure_user() method now allows synchronizing user attributes with attributes in a remote system such as an LDAP directory. django.contrib.gis ¶ The new GEOSGeometry.make_valid() metho ... gument for modelformset_factory() and inlineformset_factory() allows preventing new objects creation. The js and css class attributes of Media now allow using hashable objects, not only path strings, as long as those objects implement the __html__() method ... (typically when decorated with the html_safe() decorator). The new BoundField.use_fieldset and Widget.use_fieldset attributes help to identify widgets where its inputs should be grouped in a <fieldset> with a <legend> . The error_messages argument ... ... m/newspaper.css" media = "print" rel = "stylesheet" > Stylesheet objects ¶ New in Django 6.1. class Stylesheet ( href , ** attributes ) [ソース] ¶ Represents a stylesheet link. The rel attribute is set to "stylesheet" . The first parameter, href , is the s ... sheet file. See the section on paths for details on how to specify paths to these files. The optional keyword arguments, **attributes , are additional HTML attributes set on the rendered <link> tag. 使用例については、 オブジェクトとしてのパス を参照してくだ ... 義したタプルです。ファイルのパスを指定する方法は パスの章 を参照してください。 Script オブジェクト ¶ class Script ( src , ** attributes ) [ソース] ¶ スクリプトファイルを表現します。 最初の引数 src は、スクリプトファイルへのパスを表す文字列です。 このパスの指 ... 2026年10月08日