per page, with , order by , clip by
Results of 1 - 10 of about 15 for processor (0.005 sec.)
Django 1.9.7 リリースノート 13567
Django 1.9.7 リリースノート 2016年6月4日 Django 1.9.7 では、1.9.6 にあったいくつかのバグを修正しました。 バグ修正 Removed the need for the request context processor on the admin login page to fix a regression in 1.9 ( #26558 ). Fixed transl ...
https://man.mtool.work/django/6.1/releases/1.9.7.html
How to use Django's Content Security Policy 10379
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 ... ple of the less secure 'unsafe-inline' option. "style-src" : [ CSP . SELF , CSP . UNSAFE_INLINE ], } Add the csp() context processor to your TEMPLATES setting. This makes the generated nonce value available in the Django templates as the csp_nonce 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 requir ...
https://man.mtool.work/django/6.1/howto/csp.html
Python プログラマーのための Django テンプレート言語 10379
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.tem ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Django 1.8.3 リリースノート 9840
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. ... Count() ( #24835 ). Corrected HStoreField.has_changed() ( #24844 ). Reverted an optimization to the CSRF template context processor which caused a regression ( #24836 ). Fixed a regression which caused template context processors to overwrite variables s ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
Django 6.1 release notes 9840
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! 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 6.0 or earlier. We've begun the ... tribute on <script> and <link> elements, or renders a Media object's assets with the nonce applied, when the csp() context processor is configured. See Nonce usage for details. A new security.W027 system check warns when ContentSecurityPolicyMiddleware is ... enabled with CSP.NONCE in a CSP policy but django.template.context_processors.csp is not configured. CSP nonce attributes are now added on <script> , <style> , and <link> elements in admin templates ... and all built-in templates when the csp() context processor is configured. See Nonce config for setup instructions. E メール A new mail.E001 deployment-only system check prevents usi ...
https://man.mtool.work/django/6.1/releases/6.1.html
コンテンツセキュリティポリシー 8777
コンテンツセキュリティポリシー New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection attacks by restricting the sources from which content can be loaded. It plays an important role ... t the corresponding nonce-<value> source expression into the CSP header. To use this nonce in templates, the csp() context processor needs to be enabled. It adds a csp_nonce variable to the template context. Changed in Django 6.1: The csp_nonce_attr templ ...
https://man.mtool.work/django/6.1/ref/csp.html
Django の機能廃止のタイムライン 8237
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.aggregat ... 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.templat ... 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.contri ...
https://man.mtool.work/django/6.1/internals/deprecation.html
組み込みテンプレートタグとフィルタ 7697
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... nce_attr New in Django 6.1. When called without arguments, renders a nonce="<value>" HTML attribute when the csp() context processor is configured, and an empty string otherwise. Use it in <script> or <link> elements to allow them under a nonce-based Cont ... h the CSP nonce applied to each <script> and <link> element: {% csp_nonce_attr form.media %} In both forms, if the context processor is not configured, assets are rendered without a nonce attribute. See Nonce usage for full configuration details. cycle タ ... t.GET をデフォルトとして使う request.GET をデフォルトの QueryDict インスタンスとして使用するには、 django.template.context_processors.request コンテキストプロセッサを有効にする必要があります。これが有効でない場合、テンプレートコンテキストに request オブジ ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django 1.3 リリースノート 7697
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_proce ... ssors 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
Django 4.0 リリースノート 7697
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... r using the test --shuffle option. The test --parallel option now supports the value auto to run one test process for each processor core. TestCase.captureOnCommitCallbacks() now captures new callbacks added while executing transaction.on_commit() callbac ...
https://man.mtool.work/django/6.1/releases/4.0.html
PREV 1 2 NEXT