... go.contrib.syndication.views import Feed from django.utils import feedgenerator class ExampleFeed ( Feed ): # FEED TYPE -- Optional. This should be a class that subclasses # django.utils.feedgenerator.SyndicationFeed. This designates # which type of feed ... .0. This # should be a class, not an instance of the class. feed_type = feedgenerator . Rss201rev2Feed # TEMPLATE NAMES -- Optional. These should be strings # representing names of Django templates that the system should # use in rendering the title and ... description of your feed items. # Both are optional. If a template is not specified, the # item_title() or item_description() methods are used instead. title_template = None ... ... のいずれかを使用してください。 name これは必須の引数です。インストールする拡張機能の名前です。 hints New in Django 6.0. The optional hints argument will be passed as **hints to the allow_migrate() method of database routers to assist them in making routin ... Extension class BloomExtension ( hints = None ) [ソース] bloom 拡張機能をインストールします。 hints New in Django 6.0. The optional hints argument will be passed as **hints to the allow_migrate() method of database routers to assist them in making routin ... on class BtreeGinExtension ( hints = None ) [ソース] btree_gin 拡張機能をインストールします。 hints New in Django 6.0. The optional hints argument will be passed as **hints to the allow_migrate() method of database routers to assist them in making routin ... ... nt_list の各メンバーは、メールメッセージの "To:" フィールドで他の受信者を見ることができます。 The following parameters are optional, and must be given as keyword arguments if used. fail_silently : A boolean, default False . If set True , send_mail() will ... in コンテンツタイプを持つ message と text/html コンテンツタイプを持つ html_message を合わせ持つものになります。 using : An optional MAILERS alias to use to send the mail. If unspecified, the default mailer configuration will be used. fail_silently , auth ... must be given as keyword arguments if used, and are not allowed with the using argument. The keyword argument using is an optional MAILERS alias to use to send the mail. If unspecified, the default mailer configuration will be used. Each separate elemen ... ... firm_login_allowed() method to more easily customize the login policy. django.contrib.auth.views.password_reset() takes an optional html_email_template_name parameter used to send a multipart HTML email for password resets. The AbstractBaseUser.get_sessi ... d during file upload, like FILE_UPLOAD_PERMISSIONS does for the files themselves. The FileField.upload_to attribute is now optional. If it is omitted or given None or an empty string, a subdirectory won't be used for storing the uploaded files. Uploaded ... the custom label as the value. The default blank option "----------" will be omitted in this case. MultiValueField allows optional subfields by setting the require_all_fields argument to False . The required attribute for each individual field will be r ... ... igits are now formatted using scientific notation. バグ修正 Made the obj argument of InlineModelAdmin.has_add_permission() optional to restore backwards compatibility with third-party code that doesn't provide it ( #30097 ). ... ... so of the error message. Try adding your operating system to the search query if needed. If you have trouble installing an optional test dependency, you can skip that dependency locally. For example, if installing pylibmc fails, comment out its line in r ... sts.py . Tests that require pylibmc will be skipped automatically. See Running all the tests for details on installing the optional test dependencies. Running the tests requires a Django settings module that defines the databases to use. To help you get ... ngo tests, you will need to set up a spatial database and install the Geospatial libraries . Each of these dependencies is optional. If you're missing any of them, the associated tests will be skipped. To run some of the autoreload tests, you'll need to ... ... ion in Django 3.0 where RegexPattern , used by re_path() , returned positional arguments to be passed to the view when all optional named groups were missing ( #31061 ). Reallowed, following a regression in Django 3.0, Window expressions to be used in co ... ... CITextExtension , CryptoExtension , HStoreExtension , TrigramExtension , and UnaccentExtension operations now support the optional hints parameter. This allows providing database hints to database routers to assist them in making routing decisions . dja ... 0.6 and higher. Dropped support for Python < 3.12 Because Python 3.12 is now the minimum supported version for Django, any optional dependencies must also meet that requirement. The following versions of each library are the first to add or confirm compa ... ional arguments for these now emits a deprecation warning and will raise a TypeError when the deprecation period ends: All optional parameters ( fail_silently and later) must be passed as keyword arguments to get_connection() , mail_admins() , mail_manag ... ... す。ページ上に含めるアイテムの最大数で、孤立アイテムは含みません(以下の orphans オプション引数を参照)。 Paginator. orphans Optional. Use this when you don't want to have a last page with very few items. If the last page would normally have a number of it ... the orphans argument being larger than or equal to the per_page argument is deprecated. Paginator. allow_empty_first_page Optional. Whether or not the first page is allowed to be empty. If False and object_list is empty, then an EmptyPage error will be ... ... written to correct the test case. Removed SetRemoteAddrFromForwardedFor middleware For convenience, Django 1.0 included an optional middleware class -- django.middleware.http.SetRemoteAddrFromForwardedFor -- which updated the value of REMOTE_ADDR based o ... of the week. See the full list of lookup types for details. The {% for %} tag in Django's template language now accepts an optional {% empty %} clause, to be displayed when {% for %} is asked to loop over an empty sequence. See the list of built-in templ ... 2026年10月08日