per page, with , order by , clip by
Results of 1 - 10 of about 34 for origin (0.003 sec.)
ミドルウェア 13868
ミドルウェア このドキュメントでは、Djangoに付属するすべてのミドルウェアコンポーネントについて説明します。それらの使用方法や独自のミドルウェアの作成方法についての情報は、 ミドルウェア使用ガイド を参照してください。 使用できる middleware Cach ... 化機能を提供します。それぞれの機能は、設定を使って個別に有効または無効にできます。 SECURE_CONTENT_TYPE_NOSNIFF SECURE_CROSS_ORIGIN_OPENER_POLICY SECURE_HSTS_INCLUDE_SUBDOMAINS SECURE_HSTS_PRELOAD SECURE_HSTS_SECONDS SECURE_REDIRECT_EXEMPT SECURE_REFERRE ... ーが https://example.com/page.html を訪問している場合、 Referer ヘッダーには "https://example.com/page.html" が含まれます。 Origin のみ: referrerには "origin" のみを送信します。origin はスキーム、ホスト、(オプションで) ポート番号から構成されます。例えば ... 、ユーザーが https://example.com/page.html を訪問している場合、origin は https://example.com/ となります。 リファラなし: Referer ヘッダーを一切送信しません。 このヘッダーがブラウザーに注意を促 ...
https://man.mtool.work/django/6.1/ref/middleware.html
テンプレートのバックエンドをカスタマイズする 10497
テンプレートのバックエンドをカスタマイズする カスタムのバックエンド ここでは、他のテンプレートシステムを使用するために、カスタムテンプレートバックエンドを実装する方法を説明します。テンプレートバックエンドは django.template.backends.base.Bas ... ried 引数を渡すことで postmortem に値を入れることができます。postmortem を使用するバックエンドはテンプレートオブジェクトの origin を指定する 必要があります。 コンテキストの行情報 もしテンプレートをパースもしくはレンダリングしてる最中にエラーが発生したら ... : "Hello " , "during" : "{ % s yntax error %}" , "after" : " {{ world }} \n " , "total" : 9 , "bottom" : 9 , "top" : 1 , } Origin API と サードパーティとの統合 Djangoテンプレートでは、 template.origin 属性を通じて Origin オブジェクトを利用できます。これ ... バッグ情報を表示できるようになります。 カスタムエンジンは、以下の属性を指定するオブジェクトを作成することで、独自の template.origin 情報を提供できます: 'name' : テンプレートへのフルパス。 'template_name' : テンプレート読み込みメソッドに渡される、テンプレ ...
https://man.mtool.work/django/6.1/howto/custom-template-backend.html
Django 1.1.4 リリースノート 10353
Django 1.1.4 リリースノート Django 1.1.4 へようこそ! This is the fourth "bugfix" release in the Django 1.1 series, improving the stability and performance of the Django 1.1 codebase. With one exception, Django 1.1.4 maintains backwards comp ... he following basis: Many AJAX toolkits add an X-Requested-With header when using XMLHttpRequest. Browsers have strict same-origin policies regarding XMLHttpRequest. In the context of a browser, the only way that a custom header of this nature can be ad ... . This can allow a forged request to appear to be an AJAX request, thereby defeating CSRF protection which trusts the same-origin nature of AJAX requests. Michael Koziarski of the Rails team brought this to our attention, and we were able to produce a ... o's CSRF handling. To remedy this, Django will now apply full CSRF validation to all requests, regardless of apparent AJAX origin. This is technically backwards-incompatible, but the security risks have been judged to outweigh the compatibility concern ...
https://man.mtool.work/django/6.1/releases/1.1.4.html
Sprint quickstart guide 9922
Sprint quickstart guide This document explains how to prepare to contribute to Django. It is intended for use during sprints, or by people who are already familiar with contributing to Python open source projects. This guide assumes you're ... t numbers: /  $ git fetch upstream pull/PRNumber/head:ticket_TicketNumber $ git checkout ticket_TicketNumber $ git push origin ticket_TicketNumber ...\> git fetch upstream pull/PRNumber/head:ticket_TicketNumber ...\> git checkout ticket_TicketNumber ... ...\> git push origin ticket_TicketNumber For example, to continue PR 8000 for ticket 123, run: /  $ git fetch upstream pull/8000/head:ticket ... _123 $ git checkout ticket_123 $ git push origin ticket_123 ...\> git fetch upstream pull/8000/head:ticket_123 ...\> git checkout ticket_123 ...\> git push origin ticket_1 ...
https://man.mtool.work/django/6.1/internals/contributing/sprint-quickstart.html
Working with Git and GitHub 9922
Working with Git and GitHub This section explains how the community can contribute code to Django via pull requests. If you're interested in how mergers handle them, see プルリクエストの取り扱い . Below, we are going to show how to create a ... his page need to be run within the cloned directory, so switch to it now: cd django Your GitHub repository will be called "origin" in Git. You should also set up django/django as an "upstream" remote (that is, tell git that the reference Django reposit ... commit -m 'Added two more tests for edge cases.' Publishing work You can publish your work on GitHub by running: git push origin ticket_xxxxx When you go to your GitHub page, you will notice a new branch has been created. If you are working on a Trac ... ting a commit that has already been pushed to GitHub, you will need to force-push your branch: git push --force-with-lease origin ticket_xxxxx Rebasing branches In the example above, you created two commits, the "Fixed #xxxxx -- ..." commit and the "Ad ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
Django 1.9.2 リリースノート 9650
Django 1.9.2 リリースノート February 1, 2016 Django 1.9.2 fixes a security regression in 1.9 and several bugs in 1.9.1. It also makes a small backwards incompatible change that hopefully doesn't affect any users. Security issue: User with " ... e came from, even during template inheritance or inclusion. Prior to Django 1.9, debugging tools could access the template origin from the node via Node.token.source[0] . This was an undocumented, private API. The origin is now available directly on ea ... ch node using the Node.origin attribute ( #25848 ). Fixed a regression in Django 1.8.5 that broke copying a SimpleLazyObject with copy.copy() ( #26122 ) ...
https://man.mtool.work/django/6.1/releases/1.9.2.html
GDAL API 9506
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... : Xgeo = GT ( 0 ) + Xpixel * GT ( 1 ) + Yline * GT ( 2 ) Ygeo = GT ( 3 ) + Xpixel * GT ( 4 ) + Yline * GT ( 5 ) 同じ値は、 origin (インデックス 0 と 3)、 scale (インデックス 1 と 5)、および skew (インデックス 2 と 4) プロパティにアクセスすることでも取得 ... rst = GDALRaster ({ "width" : 10 , "height" : 20 , "srid" : 4326 }) >>> rst . geotransform [0.0, 1.0, 0.0, 0.0, 0.0, -1.0] origin [ソース] ソースの空間参照システム内で、ラスターの左上原点の座標を、 x と y のメンバを持つ点オブジェクトとして表します。 >> ... > rst = GDALRaster ({ "width" : 10 , "height" : 20 , "srid" : 4326 }) >>> rst . origin [0.0, 0.0] >>> rst . origin . x = 1 >>> rst . origin [1.0, 0.0] scale [ソース] ラスタのジオリファレンスに使用されるピクセル ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Django 1.2.5 リリースノート 9362
Django 1.2.5 リリースノート Django 1.2.5 へようこそ! This is the fifth "bugfix" release in the Django 1.2 series, improving the stability and performance of the Django 1.2 codebase. With four exceptions, Django 1.2.5 maintains backwards com ... he following basis: Many AJAX toolkits add an X-Requested-With header when using XMLHttpRequest. Browsers have strict same-origin policies regarding XMLHttpRequest. In the context of a browser, the only way that a custom header of this nature can be ad ... . This can allow a forged request to appear to be an AJAX request, thereby defeating CSRF protection which trusts the same-origin nature of AJAX requests. Michael Koziarski of the Rails team brought this to our attention, and we were able to produce a ... o's CSRF handling. To remedy this, Django will now apply full CSRF validation to all requests, regardless of apparent AJAX origin. This is technically backwards-incompatible, but the security risks have been judged to outweigh the compatibility concern ...
https://man.mtool.work/django/6.1/releases/1.2.5.html
Django 4.0 リリースノート 9219
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... . Going forward, the a prefix will be used for async variants of methods generally. CSRF CSRF protection now consults the Origin header, if present. To facilitate this, some changes to the CSRF_TRUSTED_ORIGINS setting are required. フォーム ModelChoic ... eryset (or grouping) contains no entries, rather than None . Request と Response The SecurityMiddleware now adds the Cross-Origin Opener Policy header with a value of 'same-origin' to prevent cross-origin popups from sharing the same browsing context. ... You can prevent this header from being added by setting the SECURE_CROSS_ORIGIN_OPENER_POLICY setting to None . シグナル The new stdout argument for pre_migrate() and post_migrate() signals allows redir ...
https://man.mtool.work/django/6.1/releases/4.0.html
Python プログラマーのための Django テンプレート言語 8372
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... スからテンプレートを読み込みます。 get_template_sources ( template_name ) [ソース] テンプレート名 template_name を受け取り、 Origin インスタンスを生成するメソッドです。 For example, the filesystem loader may receive 'index.html' as a template_name argume ... nt. This method would yield origins for the full path of index.html as it appears in each template directory the loader looks at. メソッドは与えられたパスにテ ... ります。例えば、ファイルシステムローダーはパスが有効なテンプレートディレクトリのもとにあることを確認します。 get_contents ( origin ) 与えられた Origin に対するテンプレートのコンテンツを返します。 これは、ファイルシステムローダーがファイルシステムから内容 ...
https://man.mtool.work/django/6.1/ref/templates/api.html
PREV 1 2 3 4 NEXT