per page, with , order by , clip by
Results of 1 - 5 of about 5 for pubdate (0.007 sec.)
配信 (syndication) フィード フレームワーク 12538
配信 (syndication) フィード フレームワーク Django には、 RSS と Atom フィードを作成するための高レベルな配信 (syndication) フィード生成フレームワークが付属しています。 任意の配信フィードを作成するには、短い Python クラスを書くだけで済みます。 ... MIME type for every item in the feed. """ item_enclosure_mime_type = "audio/mpeg" # Hard-coded enclosure MIME type. # ITEM PUBDATE -- It's optional to use one of these three. This is a # hook that specifies how to get the pubdate for a given item. # In ... each case, the method/attribute should return a Python # datetime.datetime object. def item_pubdate ( self , item ): """ Takes an item, as returned by items(), and returns the item's pubdate. """ def item_pubdate ( self ): ... """ Returns the pubdate for every item in the feed. """ item_pubdate = datetime . datetime ( 2005 , 5 , 3 ) # Hard-coded pubdate. # ITEM UPDATED - ...
https://man.mtool.work/django/6.1/ref/contrib/syndication.html
アグリゲーション (集計) 9707
アグリゲーション (集計) Djangoのデータベース抽象API のトピックガイドでは、個別のオブジェクトの作成、取得、削除を行うDjangoのクエリの使い方を説明しました。しかし、オブジェクトのコレクションを 集計 (アグリゲーション) した値や、集計することによ ... authors = models . ManyToManyField ( Author ) publisher = models . ForeignKey ( Publisher , on_delete = models . CASCADE ) pubdate = models . DateField () class Store ( models . Model ): name = models . CharField ( max_length = 300 ) books = models . Ma ... また、各出版社が管理している本のうち、最も古い本を教えてもらうこともできます: >>> Publisher . objects . aggregate ( oldest_pubdate = Min ( "book__pubdate" )) (結果は 'oldest_pubdate' というキーで参照できるようになります。もしこのように別名を指定しなけれ ... ば、キーの名前は 'book__pubdate__min' のように長くなります。) これは外部キーだけに適用されるわけではありません。多対多のリレーションシップにも使えます。た ...
https://man.mtool.work/django/6.1/topics/db/aggregation.html
Django ユーティリティ (django.utils) 8291
Django ユーティリティ ( django.utils ) このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんどのモジュールは内部使用を目的としていることから、 内部リリース非推奨ポリシー に従い、以下に記載 ... する必要があります。 add_item ( title , link , description , author_email = None , author_name = None , author_link = None , pubdate = None , comments = None , unique_id = None , categories = () , item_copyright = None , ttl = None , updateddate = None , ... enclosures = None , ** kwargs ) [ソース] フィードにアイテムを追加します。すべての引数は文字列であることが前提ですが、 pubdate と updateddate は datetime.datetime オブジェクトであり、 enclosures は Enclosure インスタンスのリストです。 num_items () [ ... れたエンコーディングでフィードを文字列として返します。 latest_post_date () [ソース] フィード内のすべてのアイテムの中で最新の pubdate または updateddate を返します。これらの属性を持つアイテムがない場合は、現在のUTC日付/時間を返します。 Enclosure class Encl ...
https://man.mtool.work/django/6.1/ref/utils.html
Django 1.7 リリースノート 7887
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... le output. django.contrib.syndication The Atom1Feed syndication feed's updated element now utilizes updateddate instead of pubdate , allowing the published element to be included in the feed (which relies on pubdate ). キャッシュ Access to caches config ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.11 リリースノート 7482
Django 1.11 リリースノート April 4, 2017 Django 1.11 へようこそ! このリリースノートでは、Django 1.10 および過去のバージョンからアップグレードする際に知っておくべきいくつかの 後方互換性のない変更 に加え、 新機能 を説明しています。 いくつかの ... 1.11.1) in DATABASES . See トランザクションプールとサーバーサイドカーソル for more discussion. その他 フィードのアイテムが pubdate や updateddate 属性を持たない場合、 SyndicationFeed.latest_post_date() がタイムゾーン情報を持たない日時ではなく現在の UTC ...
https://man.mtool.work/django/6.1/releases/1.11.html
PREV 1 NEXT