per page, with , order by , clip by
Results of 1 - 10 of about 65 for HttpRequest (0.008 sec.)
リクエストとレスポンスのオブジェクト 16661
リクエストとレスポンスのオブジェクト 簡単な概要 Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います。 あるページがリクエストされたとき、Django はリクエストに関するメタデータを含んだ HttpRequest ... オブジェクトを生成します。それから Django は HttpRequest をビュー関数の最初の関数として渡し、適切なビューを読み込みます。あらゆるビューは HttpResponse オブジェクトを返す必要があり ... ます。 このドキュメントでは、 HttpRequest と HttpResponse オブジェクトの API を説明しています。これは django.http モジュールにて定義されています。 HttpRequest オブジ ... ェクト class HttpRequest [ソース] 属性 特に記載がない限り、全ての属性は読み取り専用だと考えてください。 HttpRequest. scheme [ソース] リクエストのス ...
https://man.mtool.work/django/6.1/ref/request-response.html
索引 10434
索引 記号 | _ | 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 コマン ... impleTemplateResponse のメソッド) (SyndicationFeed のメソッド) (TemplateResponse のメソッド) __iter__() (File のメソッド) (HttpRequest のメソッド) (ModelChoiceIterator のメソッド) (OGRGeometry のメソッド) __len__() (OGRGeometry のメソッド) __setitem__() (ba ... モジュール) abulk_update() (django.db.models.query.QuerySet モジュール) accept_idna (DomainNameValidator の属性) accepts() (HttpRequest のメソッド) AccessMixin (django.contrib.auth.mixins のクラス) acheck_password() (django.contrib.auth.hashers モジュール) ( ... reate() (django.db.models.query.QuerySet モジュール) aupdate_session_auth_hash() (django.contrib.auth モジュール) auser() (HttpRequest のメソッド) auth() (django.contrib.auth.context_processors モジュール) auth_code() (SpatialReference のメソッド) auth_name ...
https://man.mtool.work/django/6.1/genindex.html
Django の admin サイト 8817
Django の admin サイト Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、モデル中心のインタフェースを提供します。このインタフェースのおかげで、ユーザはあなたのサイトの ... 操作を可能にするための仕様です。 ModelAdmin. save_model ( request , obj , form , change ) [ソース] save_model メソッドには、 HttpRequest 、モデルのインスタンス、 ModelForm のインスタンス、追加か変更かを表す真偽値が渡されます。このメソッドをオーバーライドすると ... () . save_model ( request , obj , form , change ) ModelAdmin. delete_model ( request , obj ) [ソース] delete_model には、 HttpRequest とモデルのインスタンスが渡されます。このメソッドをオーバーライドすると、削除の前後に操作を追加できます。 super().delete_mo ... 使ってオブジェクトを削除してください。 ModelAdmin. delete_queryset ( request , queryset ) [ソース] delete_queryset() には、 HttpRequest と削除するオブジェクトの QuerySet が渡されます。このメソッドをオーバーライドすると、"選択したオブジェクトの削除" アクション ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
Django 1.11.22 リリースノート 8817
Django 1.11.22 リリースノート July 1, 2019 Django 1.11.22 fixes a security issue in 1.11.21. CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS When deployed behind a reverse-proxy connecting to Django via HTTP ... S, django.http.HttpRequest.scheme would incorrectly detect client requests made via HTTP as using HTTPS. This entails incorrect results for is_secure ... () , and build_absolute_uri() , and that HTTP requests would not be redirected to HTTPS in accordance with SECURE_SSL_REDIRECT . HttpRequest.scheme now respects SECURE_PROXY_S ... header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths relying on ...
https://man.mtool.work/django/6.1/releases/1.11.22.html
Django 2.1.10 リリースノート 8817
Django 2.1.10 リリースノート July 1, 2019 Django 2.1.10 fixes a security issue in 2.1.9. CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS When deployed behind a reverse-proxy connecting to Django via HTTPS, d ... jango.http.HttpRequest.scheme would incorrectly detect client requests made via HTTP as using HTTPS. This entails incorrect results for is_secure ... () , and build_absolute_uri() , and that HTTP requests would not be redirected to HTTPS in accordance with SECURE_SSL_REDIRECT . HttpRequest.scheme now respects SECURE_PROXY_S ... header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths relying on ...
https://man.mtool.work/django/6.1/releases/2.1.10.html
Django 1.3.4 リリースノート 8617
Django 1.3.4 リリースノート October 17, 2012 This is the fourth release in the Django 1.3 series. Host header poisoning Some parts of Django -- independent of end-user-written applications -- make use of full URLs, including domain name, wh ... ble, as was reported to us recently. The Host header parsing in Django 1.3.3 and Django 1.4.1 -- specifically, django.http.HttpRequest.get_host() -- was incorrectly handling username/password information in the header. Thus, for example, the following Host ... rticularly the password-reset mechanism -- to generate and display arbitrary URLs to users. To remedy this, the parsing in HttpRequest.get_host() is being modified; Host headers which contain potentially dangerous content (such as username/password pairs) n ...
https://man.mtool.work/django/6.1/releases/1.3.4.html
Django 2.2.3 リリースノート 8617
Django 2.2.3 リリースノート July 1, 2019 Django 2.2.3 fixes a security issue and several bugs in 2.2.2. Also, the latest string translations from Transifex are incorporated. CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connec ... ting via HTTPS When deployed behind a reverse-proxy connecting to Django via HTTPS, django.http.HttpRequest.scheme would incorrectly detect client requests made via HTTP as using HTTPS. This entails incorrect results for is_secure ... () , and build_absolute_uri() , and that HTTP requests would not be redirected to HTTPS in accordance with SECURE_SSL_REDIRECT . HttpRequest.scheme now respects SECURE_PROXY_S ... header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths relying on ...
https://man.mtool.work/django/6.1/releases/2.2.3.html
Django 1.4.2 リリースノート 8216
Django 1.4.2 リリースノート October 17, 2012 This is the second security release in the Django 1.4 series. Host header poisoning Some parts of Django -- independent of end-user-written applications -- make use of full URLs, including domain ... ble, as was reported to us recently. The Host header parsing in Django 1.3.3 and Django 1.4.1 -- specifically, django.http.HttpRequest.get_host() -- was incorrectly handling username/password information in the header. Thus, for example, the following Host ... rticularly the password-reset mechanism -- to generate and display arbitrary URLs to users. To remedy this, the parsing in HttpRequest.get_host() is being modified; Host headers which contain potentially dangerous content (such as username/password pairs) n ...
https://man.mtool.work/django/6.1/releases/1.4.2.html
エラーレポートの管理 7915
エラーレポートの管理 サイトを公開している場合、 DEBUG 設定は常にオフにしておかなければなりません。これにより、サーバー動作は高速になり、エラーページによって明らかになるアプリケーションの詳細が悪意あるユーザーに漏れるのを防ぎます。 しかし、 ... 録しておくと便利です。例えば、デフォルトでは Django は発生した例外の full traceback や、各 traceback frame のローカル変数、 HttpRequest の 属性 を記録します。 しかし、例えばユーザのパスワードやクレジットカード番号のように、ある種の情報は機密性が高すぎるため、 ... orator def process_info ( user ): ... sensitive_post_parameters ( * parameters ) [ソース] If one of your views receives an HttpRequest object with POST parameters susceptible to contain sensitive information, you may prevent the values of those parameters f ... ve_variables() と sensitive_post_parameters() がすることは、それぞれ、装飾された関数にセンシティブな変数名をアノテートし、 HttpRequest オブジェクトにセンシティブな POST パラメータ名をアノテートするだけです。実際のフィルタリングは Django のデフォルトのエラー ...
https://man.mtool.work/django/6.1/howto/error-reporting.html
django.contrib.auth 7715
django.contrib.auth このドキュメントでは、Django の 認証システムのコンポーネントの API リファレンス資料を提供しています。 これらのコンポーネントの使い方や、認証と認可をカスタマイズする方法の詳細は、 認証トピックガイド を参照してください。 U ... れます。 このシグナルとともに送信される引数は以下の通りです: sender たった今ログインしたユーザのクラスです。 request 現在の HttpRequest インスタンスです。 user たった今ログインしたユーザのインスタンスです。 user_logged_out logout メソッドが呼ばれたときに送信 ... 上記の通り: たった今ログアウトしたユーザのクラス、もしくはユーザが認証されなかった場合は None となります。 request 現在の HttpRequest インスタンスです。 user たった今ログアウトしたユーザのインスタンスか、ユーザが認証されなかった場合は None です。 user_logi ... (パスワードを含んだ) 資格情報は、シグナルの一部として明確には送信されません。 request authenticate() に提供されている場合、 HttpRequest オブジェクト。 認証のバックエンド このセクションでは、Django に付属する認証バックエンドについて詳しく説明します。 使用方法 ...
https://man.mtool.work/django/6.1/ref/contrib/auth.html
PREV 1 2 3 4 5 6 7 NEXT