... languages を返します。 ショートカット サイトマップフレームワークは、一般的なケースに対する便利なクラスを提供します。 class GenericSitemap ( info_dict , priority = None , changefreq = None , protocol = None ) [ソース] The django.contrib.sitemaps.GenericSitemap ... 、 changefreq 、 protocol キーワード引数を使用すると、すべてのURLに対してこれらの属性を指定できます。 カスタマイズ例 以下は GenericSitemap を使用した URLconf の例です: from django.contrib.sitemaps import GenericSitemap from django.contrib.sitemaps.views import ... rns = [ # some generic view using info_dict # ... # the sitemap path ( "sitemap.xml" , sitemap , { "sitemaps" : { "blog" : GenericSitemap ( info_dict , priority = 0.6 )}}, name = "django.contrib.sitemaps.views.sitemap" , ), ] 静的ビューのサイトマップ 検索エンジ ... ... ( django.contrib.postgres must be in INSTALLED_APPS ). django.contrib.sitemaps Added the protocol keyword argument to the GenericSitemap constructor. キャッシュ cache.set_many() now returns a list of keys that failed to be inserted. For the built-in backends, ... ... ericPrefetch (django.contrib.contenttypes.prefetch のクラス) GenericRelation (django.contrib.contenttypes.fields のクラス) GenericSitemap (django.contrib.sitemaps のクラス) GenericStackedInline (django.contrib.contenttypes.admin のクラス) GenericTabularInline ... 2026年10月08日