... r class ExampleFeed ( Feed ): # FEED TYPE -- Optional. This should be a class that subclasses # django.utils.feedgenerator.SyndicationFeed. This designates # which type of feed this should be: RSS 2.0, Atom 1.0, etc. If # you don't specify feed_type, your feed ... ルのフィードを生成します。独自のフィードジェネレータサブクラスを作成して feed_type Feed オプションで使用することもできます。 SyndicationFeed クラス feedgenerator モジュールには以下の基底クラスが含まれています: django.utils.feedgenerator.SyndicationFeed サブクラス ... のクラスは、特定の種類のフィードをXMLとしてレンダリングする方法を知っています。これらはこのインターフェイスを共有しています: SyndicationFeed.__init__() 与えられたメタデータの辞書でフィードを初期化します。これはフィード全体に適用されます。必須のキーワード引数は以下 ... ... ば次のようになります: class ZipcodeFeed ( Feed ): def item_geometry ( self , obj ): # Returns the polygon. return obj . poly SyndicationFeed サブクラス 以下の django.utils.feedgenerator.SyndicationFeed のサブクラスが利用可能です: class GeoRSSFeed [ソース] class G ... ... () (HttpResponse のメソッド) (QueryDict のメソッド) (requests.RequestSite のメソッド) (SimpleTemplateResponse のメソッド) (SyndicationFeed のメソッド) (TemplateResponse のメソッド) __iter__() (File のメソッド) (HttpRequest のメソッド) (ModelChoiceIterator のメソ ... hemaEditor のメソッド) add_form_template (ModelAdmin の属性) add_index() (BaseDatabaseSchemaEditor のメソッド) add_item() (SyndicationFeed のメソッド) add_item_elements() (SyndicationFeed のメソッド) add_message() (django.contrib.messages モジュール) add_never_ ... ders() (django.utils.cache モジュール) add_post_render_callback() (SimpleTemplateResponse のメソッド) add_root_elements() (SyndicationFeed のメソッド) add_stylesheets() (SyndicationFeed のメソッド) add_view() (ModelAdmin のメソッド) AddConstraint (django.db.mig ... ... 意の文字列。デフォルトは "screen" です。 スタイルシートに media 属性を持たせたくない場合は、 media=None と指定してください。 SyndicationFeed class SyndicationFeed [ソース] すべての配信 (syndication) フィードの基底クラスです。サブクラスでは write() を提供すべきです ... 合は、現在のUTC日付/時間を返します。 Enclosure class Enclosure [ソース] RSSエンクロージャを表します RssFeed class RssFeed ( SyndicationFeed ) [ソース] Rss201rev2Feed class Rss201rev2Feed ( RssFeed ) [ソース] 仕様: https://cyber.harvard.edu/rss/rss.html RssUserla ... 091Feed class RssUserland091Feed ( RssFeed ) [ソース] 仕様: http://backend.userland.com/rss091 Atom1Feed class Atom1Feed ( SyndicationFeed ) [ソース] 仕様: RFC 4287 django.utils.functional class cached_property ( func ) [ソース] @cached_property デコレータは、単 ... ... になりました。 coveredby と covers ルックアップが MySQLをサポートするようになりました。 django.contrib.syndication すべての SyndicationFeed クラスが stylesheets 属性をサポートするようになりました。指定すると、与えられたリスト内の各スタイルシートごとに、文書の先頭 ... ... be removed. Support for the allow_tags attribute on ModelAdmin methods will be removed. The enclosure keyword argument to SyndicationFeed.add_item() will be removed. The django.template.loader.LoaderOrigin and django.template.base.StringOrigin aliases for djan ... ... プールとサーバーサイドカーソル for more discussion. その他 フィードのアイテムが pubdate や updateddate 属性を持たない場合、 SyndicationFeed.latest_post_date() がタイムゾーン情報を持たない日時ではなく現在の UTC 日/時を返すようになりました。 CSRF の失敗が django.r ... ... format_html_join() , or mark_safe() when constructing the method's return value instead. The enclosure keyword argument to SyndicationFeed.add_item() is deprecated. Use the new enclosures argument which accepts a list of Enclosure objects instead of a single on ... ... ssage() の callable_obj キーワード引数が削除されました。 ModelAdmin メソッドの allow_tags 属性のサポートが削除されました。 SyndicationFeed.add_item() の enclosure キーワード引数が削除されました。 django.template.base.Origin から django.template.loader.LoaderOri ... 2026年10月08日