per page, with , order by , clip by
Results of 1 - 3 of about 3 for changefreq (0.003 sec.)
サイトマップ・フレームワーク 11924
サイトマップ・フレームワーク Djangoには、 sitemap XML ファイルを作成するための高レベルなサイトマップ生成フレームワークが付属しています。 概要 サイトマップとは、検索エンジンのインデクサーに、ページの変更頻度や、あるページがサイト内の他のペー ... 次のようになります: from django.contrib.sitemaps import Sitemap from blog.models import Entry class BlogSitemap ( Sitemap ): changefreq = "never" priority = 0.5 def items ( self ): return Entry . objects . filter ( is_draft = False ) def lastmod ( self , obj ... ): return obj . pub_date 備考: changefreq と priority はそれぞれ <changefreq> と <priority> 要素に対応するクラス属性です。これらは例の lastmod のように関数として呼び ... s. The objects returned will get passed to any callable methods corresponding to a sitemap property ( location , lastmod , changefreq , and priority ). lastmod は datetime を返すべきです。 There is no location method in this example, but you can provide it ...
https://man.mtool.work/django/6.1/ref/contrib/sitemaps.html
フラットページ (flatpages) アプリ 8054
フラットページ (flatpages) アプリ Django にはオプションで "flatpages" アプリケーションが付属しています。これを使えば、"フラットな" HTML コンテンツをデータベースに保存することができ、 Django のadmin インタフェースや Python API を使って管理で ... いる flatpages を見て、サイトマップにエントリを作成します。これらのエントリには、 location 属性のみが含まれます。 lastmod や changefreq , priority は含まれません。 カスタマイズ例 以下は FlatPageSitemap を使用したURLconfの例です: from django.contrib.flatpages ...
https://man.mtool.work/django/6.1/ref/contrib/flatpages.html
索引 7906
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... の属性) change_view() (ModelAdmin のメソッド) changed_data (Form の属性) changed_objects (models.BaseModelFormSet の属性) changefreq (Sitemap の属性) changelist_view() (ModelAdmin のメソッド) changepassword django-admin command changepassword コマンドライ ...
https://man.mtool.work/django/6.1/genindex.html
PREV 1 NEXT