per page, with , order by , clip by
Results of 1 - 10 of about 16 for Sitemap (0.006 sec.)
サイトマップ・フレームワーク 15301
サイトマップ・フレームワーク Djangoには、 sitemap XML ファイルを作成するための高レベルなサイトマップ生成フレームワークが付属しています。 概要 サイトマップとは、検索エンジンのインデクサーに、ページの変更頻度や、あるページがサイト内の他のペー ... ルの作成を自動化します。 これは Django の 配信 (syndication) フレームワーク のように動作します。サイトマップを作成するには、 Sitemap クラスを書き、 URLconf の中でそれを指定します。 インストール サイトマップ アプリをインストールするには、以下の手順に従って ... ください。 'django.contrib.sitemaps' を INSTALLED_APPS 設定に追加します。 TEMPLATES 設定には、 DjangoTemplates バックエンドが含まれており、 APP_DIRS オプショ ... 必要があるのは、 Loader() テンプレートローダーがデフォルトのテンプレートを見つけられるようにするためです)。 初期設定 views. sitemap ( request , sitemaps , section = None , template_name = 'sitemap.xml' , content_type = 'application/xml' ) Django サイトで ...
https://man.mtool.work/django/6.1/ref/contrib/sitemaps.html
フラットページ (flatpages) アプリ 8594
フラットページ (flatpages) アプリ Django にはオプションで "flatpages" アプリケーションが付属しています。これを使えば、"フラットな" HTML コンテンツをデータベースに保存することができ、 Django のadmin インタフェースや Python API を使って管理で ... } {% get_flatpages about_prefix as about_pages %} {% get_flatpages '/about/' for someuser as about_pages %} django.contrib.sitemaps と統合する class FlatPageSitemap [ソース] sitemaps.FlatPageSitemap クラスは、現在の SITE_ID (詳細は sites ドキュメント を ... ントリには、 location 属性のみが含まれます。 lastmod や changefreq , priority は含まれません。 カスタマイズ例 以下は FlatPageSitemap を使用したURLconfの例です: from django.contrib.flatpages.sitemaps import FlatPageSitemap from django.contrib.sitemaps.view ... s import sitemap from django.urls import path urlpatterns = [ # ... # the sitemap path ( "sitemap.xml" , sitemap , { "sitemaps" : { "flatpa ...
https://man.mtool.work/django/6.1/ref/contrib/flatpages.html
Django 1.8 リリースノート 8594
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... ould not be used any longer. django.contrib.sessions Session cookie is now deleted after flush() is called. django.contrib.sitemaps The new Sitemap.i18n attribute allows you to generate a sitemap based on the LANGUAGES setting. django.contrib.sites get_ ... vior has also resulted in a security issue . Use named URL patterns for reversing instead. If you are using django.contrib.sitemaps , add the name argument to the url that references django.contrib.sitemaps.views.sitemap() : from django.contrib.sitemaps ... .views import sitemap url ( r "^sitemap\.xml$" , sitemap , { "sitemaps" : sitemaps }, name = "django.contrib.sitemaps.views.sitemap" , ) to ensu ...
https://man.mtool.work/django/6.1/releases/1.8.html
翻訳 8594
翻訳 概要 Django プロジェクトを翻訳可能にするためには、Python コードやテンプレートに、多少のフックを加筆しなければなりません。このフックは 翻訳文字列 と呼ばれます。翻訳文字列は Django に「このテキストに対する翻訳が有効な場合、このテキストは ... ns from django.urls import include , path from about import views as about_views from news import views as news_views from sitemap.views import sitemap urlpatterns = [ path ( "sitemap.xml" , sitemap , name = "sitemap-xml" ), ] news_patterns = ( [ path ( ... >>> from django.urls import reverse >>> from django.utils.translation import activate >>> activate ( "en" ) >>> reverse ( "sitemap-xml" ) '/sitemap.xml' >>> reverse ( "news:index" ) '/en/news/' >>> activate ( "nl" ) >>> reverse ( "news:detail" , kwargs ... tils.translation import gettext_lazy as _ from about import views as about_views from news import views as news_views from sitemaps.views import sitemap urlpatterns = [ path ( "sitemap.xml" , sitemap , name = "sitemap-xml" ), ] news_patterns = ( [ path ...
https://man.mtool.work/django/6.1/topics/i18n/translation.html
索引 8543
索引 記号 | _ | 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 コマン ... e (django.db.migrations.operations のクラス) AlterModelTableComment (django.db.migrations.operations のクラス) alternates (Sitemap の属性) alternatives (EmailMultiAlternatives の属性) AlterOrderWithRespectTo (django.db.migrations.operations のクラス) Al ... nge_view() (ModelAdmin のメソッド) changed_data (Form の属性) changed_objects (models.BaseModelFormSet の属性) changefreq (Sitemap の属性) changelist_view() (ModelAdmin のメソッド) changepassword django-admin command changepassword コマンドラインオプショ ... le django.contrib.redirects module django.contrib.sessions module django.contrib.sessions.middleware module django.contrib.sitemaps module django.contrib.sites module django.contrib.sites.middleware module django.contrib.staticfiles module django.contri ...
https://man.mtool.work/django/6.1/genindex.html
Django 4.1 リリースノート 8404
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... and tuple inputs. ExclusionConstraint now allows specifying operator classes with the OpClass() expression. django.contrib.sitemaps The default sitemap index template <sitemapindex> now includes the <lastmod> timestamp where available, through the new g ... et_latest_lastmod() method. Custom sitemap index templates should be updated for the adjusted context variables . django.contrib.staticfiles ManifestStaticFilesStora ... ackground : none ; border : none ; cursor : pointer ; padding : 0 ; text-decoration : underline ; } その他 The context for sitemap index templates of a flat list of URLs is deprecated. Custom sitemap index templates should be updated for the adjusted co ...
https://man.mtool.work/django/6.1/releases/4.1.html
Django 4.1.4 リリースノート 8265
Django 4.1.4 リリースノート 2022年12月6日 Django 4.1.4 では、4.1.3 におけるいくつかのバグを修正しました。 バグ修正 Django 4.1 において、SQLite で ManyToManyField を追加する際に不要なテーブルの再構築が発生するリグレッションが修正されました ( ... #34138 )。 Django 4.1 における、 Sitemap.items() と呼び出し可能オブジェクト lastmod が空だった場合に、サイトマップインデックスビューがクラッシュするバグが修正されま ...
https://man.mtool.work/django/6.1/releases/4.1.4.html
Django 1.4 リリースノート 8213
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've a ... sets. However, initial values only apply to extra forms, i.e. those which are not bound to an existing model instance. The sitemaps framework can now handle HTTPS links using the new Sitemap.protocol class attribute. A new django.test.SimpleTestCase sub ... he HTTP request. It's been renamed to HttpRequest.body , and HttpRequest.raw_post_data has been deprecated. django.contrib.sitemaps bug fix with potential performance implications In previous versions, Paginator objects used in sitemap classes were cach ... ed, which could result in stale site maps. We've removed the caching, so each request to a site map now creates a new Paginator object and calls the items method ...
https://man.mtool.work/django/6.1/releases/1.4.html
Django 3.2.1 リリースノート 8161
Django 3.2.1 リリースノート May 4, 2021 Django 3.2.1 fixes a security issue and several bugs in 3.2. CVE-2021-31542: Potential directory-traversal via uploaded files MultiPartParser , UploadedFile , and FieldFile allowed directory-traversal ... hrases with unbalanced quotes ( #32649 ). Fixed a bug in Django 3.2 where variable lookup errors were logged rendering the sitemap template if alternates were not defined ( #32648 ). Fixed a regression in Django 3.2 that caused a crash when combining Q( ...
https://man.mtool.work/django/6.1/releases/3.2.1.html
Django 2.2 リリースノート 8109
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... いて、デフォルトで http の代わりに https を使用するようになりました。サイトがhttpを使用している場合は、新しい ping_google --sitemap-uses-http オプションを使用してください。 django.contrib.sitemaps.ping_google 関数を使用する場合は、新しい sitemap_uses_htt ...
https://man.mtool.work/django/6.1/releases/2.2.html
PREV 1 2 NEXT