per page, with , order by , clip by
Results of 1 - 10 of about 22 for processors (0.014 sec.)
Python プログラマーのための Django テンプレート言語 15403
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... 属性のデフォルトは DjangoTemplates で渡されたもので上書きされます。 class Engine ( dirs = None , app_dirs = False , context_processors = None , debug = False , loaders = None , string_if_invalid = '' , file_charset = 'utf-8' , libraries = None , builtins = ... ルします。 デフォルトは True です。 警告 HTML以外のテンプレートをレンダリングする場合のみ False に設定してください! 'context_processors' は、リクエストでテンプレートがレンダリングされるときにコンテキストを生成するために使用される呼び出し可能オブジェクトへの ... : None , "False" : False , "update" : "value" , }, ) RequestContext を使う class RequestContext ( request , dict_ = None , processors = None , use_l10n = None , use_tz = None , autoescape = True ) [ソース] Django には特別な Context クラスである django.temp ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Django の機能廃止のタイムライン 9713
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... anagement.NoArgsCommand will be removed. Use BaseCommand instead, which takes no arguments by default. django.core.context_processors module will be removed. django.db.models.sql.aggregates module will be removed. django.contrib.gis.db.models.sql.aggregate ... or its form_class argument will be removed. The following settings will be removed: ALLOWED_INCLUDE_ROOTS TEMPLATE_CONTEXT_PROCESSORS TEMPLATE_DEBUG TEMPLATE_DIRS TEMPLATE_LOADERS TEMPLATE_STRING_IF_INVALID The backwards compatibility alias django.template ... ry with no SRID value. django.http.CompatCookie will be removed in favor of django.http.SimpleCookie . django.core.context_processors.PermWrapper and django.core.context_processors.PermLookupDict will be removed in favor of the corresponding django.contrib ...
https://man.mtool.work/django/6.1/internals/deprecation.html
How to use Django's Content Security Policy 9562
How to use Django's Content Security Policy Basic config Content Security Policy (CSP) を有効にするには、Django プロジェクトで次のように設定します: Add the CSP middleware to your MIDDLEWARE setting: MIDDLEWARE = [ # ... "django.middleware.c ... e context variable: TEMPLATES = [ { "BACKEND" : "django.template.backends.django.DjangoTemplates" , "OPTIONS" : { "context_processors" : [ # ... "django.template.context_processors.csp" , ], }, }, ] In your templates, add the nonce to elements that require ...
https://man.mtool.work/django/6.1/howto/csp.html
Django 1.8 リリースノート 9275
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... zation framework, that means that dumpdata output will now contain the SRID value of geometry objects. Priority of context processors for TemplateResponse brought in line with render The TemplateResponse constructor is designed to be a drop-in replacement ... plateResponse , context data from the passed in context dictionary could be shadowed by context data returned from context processors, whereas for render it was the other way around. This was a bug, and the behavior of render is more appropriate, since it ... allows the globally defined context processors to be overridden locally in the view. If you were relying on the fact context data in a TemplateResponse could be overridd ...
https://man.mtool.work/django/6.1/releases/1.8.html
はじめての Django アプリ作成、その 7 8972
はじめての Django アプリ作成、その 7 このチュートリアルは チュートリアル その6 の続きです。ここでは、引き続き Web 投票アプリケーションの開発を続け、 チュートリアル その2 で少し触れた、Django が 自動生成する管理サイトのカスタマイズに焦点を当 ... emplate.backends.django.DjangoTemplates" , "DIRS" : [ BASE_DIR / "templates" ], "APP_DIRS" : True , "OPTIONS" : { "context_processors" : [ "django.template.context_processors.request" , "django.contrib.auth.context_processors.auth" , "django.contrib.messag ... es.context_processors.messages" , ], }, }, ] DIRS は、Django がテンプレートを読み込む時にチェックする、ファイルシステム上のディレクトリのリストで ...
https://man.mtool.work/django/6.1/intro/tutorial07.html
Django 1.3 リリースノート 8838
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... ess for JavaScript literals. This deprecation removes such inconsistency. PermWrapper moved to django.contrib.auth.context_processors In Django 1.2, we began the process of changing the location of the auth context processor from django.core.context_proces ... sors to django.contrib.auth.context_processors . However, the PermWrapper support class was mistakenly omitted from that migration. In Django 1.3, the PermWrapper class ... has also been moved to django.contrib.auth.context_processors , along with the PermLookupDict support class. The new classes are functionally identical to their old versions; only the ...
https://man.mtool.work/django/6.1/releases/1.3.html
システムチェックフレームワーク 8097
システムチェックフレームワーク システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し、それらを修正するヒントを提供します。このフレームワークは拡張性があり、独自のチェックを簡単に ... our Content Security Policy includes CSP.NONCE and ContentSecurityPolicyMiddleware is enabled, but django.template.context_processors.csp is not configured. シグナル signals.E001 : <handler> は送信元 <app label>.<model> への遅延参照で <signal> シグナルに接 ... ンドを使用する場合、admin アプリケーションを使用するためには、 TEMPLATES ( DjangoTemplates ) で django.contrib.auth.context_processors.auth を有効にする必要があります。 admin.E403 : admin アプリケーションを使用するには、 TEMPLATES で django.template.backend ... ます。 admin.E404 : admin アプリケーションを使用するには、 DjangoTemplates ( TEMPLATES ) で django.contrib.messages.context_processors.messages を有効にする必要があります。 admin.E405 : admin アプリケーションを使用するには、 INSTALLED_APPS に django.contrib ...
https://man.mtool.work/django/6.1/ref/checks.html
Django 1.8.3 リリースノート 8097
Django 1.8.3 リリースノート July 8, 2015 Django 1.8.3 fixes several security issues and bugs in 1.8.2. Also, django.utils.deprecation.RemovedInDjango20Warning was renamed to RemovedInDjango110Warning as the version roadmap was revised to 1. ... the CSRF template context processor which caused a regression ( #24836 ). Fixed a regression which caused template context processors to overwrite variables set on a RequestContext after it's created ( #24847 ). Prevented the loss of null / not null column ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
メッセージフレームワーク 7962
メッセージフレームワーク Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メッセージ ("フラッシュメッセージ" とも言われます) を表示する必要があります。 Django は、anonym ... E 内で MessageMiddleware より前に記述する必要があります。 TEMPLATES 設定で定義した DjangoTemplates バックエンドの 'context_processors' オプションは、 'django.contrib.messages.context_processors.messages' を含みます。 メッセージを使いたくない場合は、 INSTAL ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
Django 3.1 リリースノート 7962
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... access to the current request in order to set CSS and ARIA role affordances. This requires using 'django.template.context_processors.request' in the 'context_processors' option of OPTIONS . Initially empty extra inlines can now be removed, in the same way ...
https://man.mtool.work/django/6.1/releases/3.1.html
PREV 1 2 3 NEXT