per page, with , order by , clip by
Results of 1 - 10 of about 32 for preferred (0.006 sec.)
Django 5.2.4 リリースノート — Django 6.1 ドキュメント 11856
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2.4 リリースノート ¶ 2025年7月2日 Django 5.2.4 では、 5.2.3 におけるいくつかのバグを修正しました。 バグ修正 ¶ Django 5.2.2 において、 HttpR ... equest.get_preferred_type() が品質の低い、より具体的なメディアタイプを誤って優先していたリグレッションを修正しました( #36447 )。 Django 5.2.3 ... 次のトピックへ Django 5.2.3 リリースノート 関連キーワード 修正 バグ リグレッション ルックアップ リリースノート HttpRequest preferred type 品質 具体的 メディア タイプ 優先 条件 None JSONField シリアライズ タプル ネイティブ サポート バックエンド 複合 キー サ ...
https://man.mtool.work/django/6.1/releases/5.2.4.html
Django 5.2.4 リリースノート — Django 6.1 ドキュメント 11582
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2.4 リリースノート ¶ 2025年7月2日 Django 5.2.4 では、 5.2.3 におけるいくつかのバグを修正しました。 バグ修正 ¶ Django 5.2.2 において、 HttpR ... equest.get_preferred_type() が品質の低い、より具体的なメディアタイプを誤って優先していたリグレッションを修正しました( #36447 )。 Django 5.2.3 ... ngo 5.2.3 リリースノート 関連キーワード Django 修正 バグ リグレッション ルックアップ リリースノート いくつ HttpRequest get preferred type 品質 具体的 メディア タイプ 優先 条件 Value None JSONField 関連するページ Django 5.0.4 リリースノート Django 5.1.2 リ ...
https://man.mtool.work/django/6.1/releases/5.2.4.html
クラスベースのビューでフォームを扱う — Django 6.1 ドキュメント 11309
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでフォームを扱う ¶ フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込ま ... t/html") は True を返します。 クライアントの優先度を考慮して正しいフォーマットを判断するには、 django.http.HttpRequest.get_preferred_type() を使用してください。 class JsonableResponseMixin : """ Mixin to add JSON support to a form. Must be used with an ob ... _media_types = [ "text/html" , "application/json" ] def dispatch ( self , request , * args , ** kwargs ): if request . get_preferred_type ( self . accepted_media_types ) is None : # No format in common. return HttpResponse ( status_code = 406 , headers = ... wargs ) def form_invalid ( self , form ): response = super () . form_invalid ( form ) accepted_type = self . request . get_preferred_type ( self . accepted_media_types ) if accepted_type == "text/html" : return response elif accepted_type == "application/ ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
クラスベースのビューでフォームを扱う — Django 6.1 ドキュメント 11309
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでフォームを扱う ¶ フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込ま ... t/html") は True を返します。 クライアントの優先度を考慮して正しいフォーマットを判断するには、 django.http.HttpRequest.get_preferred_type() を使用してください。 class JsonableResponseMixin : """ Mixin to add JSON support to a form. Must be used with an ob ... _media_types = [ "text/html" , "application/json" ] def dispatch ( self , request , * args , ** kwargs ): if request . get_preferred_type ( self . accepted_media_types ) is None : # No format in common. return HttpResponse ( status_code = 406 , headers = ... wargs ) def form_invalid ( self , form ): response = super () . form_invalid ( form ) accepted_type = self . request . get_preferred_type ( self . accepted_media_types ) if accepted_type == "text/html" : return response elif accepted_type == "application/ ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 10471
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... st. is_secure () [ソース] ¶ リクエストがセキュアである場合、つまりHTTPSで行われた場合に True を返します。 HttpRequest. get_preferred_type ( media_types ) [ソース] ¶ Accept ヘッダーに基づいて、 media_types の中から優先される MIME タイプを返します。クライア ... 返します。 クライアントが Accept ヘッダーとして text/html,application/json;q=0.8 を送信したと仮定します。 >>> request . get_preferred_type ([ "text/html" , "application/json" ]) "text/html" >>> request . get_preferred_type ([ "application/json" , "text/pla ... in" ]) "application/json" >>> request . get_preferred_type ([ "application/xml" , "text/plain" ]) None MIME タイプにパラメーターが含まれている場合、それらも優先されるメディアタ ...
https://man.mtool.work/django/6.1/ref/request-response.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 10471
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... st. is_secure () [ソース] ¶ リクエストがセキュアである場合、つまりHTTPSで行われた場合に True を返します。 HttpRequest. get_preferred_type ( media_types ) [ソース] ¶ Accept ヘッダーに基づいて、 media_types の中から優先される MIME タイプを返します。クライア ... 返します。 クライアントが Accept ヘッダーとして text/html,application/json;q=0.8 を送信したと仮定します。 >>> request . get_preferred_type ([ "text/html" , "application/json" ]) "text/html" >>> request . get_preferred_type ([ "application/json" , "text/pla ... in" ]) "application/json" >>> request . get_preferred_type ([ "application/xml" , "text/plain" ]) None MIME タイプにパラメーターが含まれている場合、それらも優先されるメディアタ ...
https://man.mtool.work/django/6.1/ref/request-response.html
Django におけるテスト — Django 6.1 ドキュメント 8522
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django におけるテスト ¶ 自動化テストは、モダンなウェブ開発者にとってバグを殺すために非常に役に立つツールです。テストのコレクション、 test suite を使 ... 挿入したり、アプリケーションの出力を検査したり、さらに一般に、書いたコードが期待通りの動作をするかどうかを検証できます。 The preferred way to write tests in Django is using the unittest module built-in to the Python standard library. This is covered in deta ...
https://man.mtool.work/django/6.1/topics/testing/
Django におけるテスト — Django 6.1 ドキュメント 8522
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django におけるテスト ¶ 自動化テストは、モダンなウェブ開発者にとってバグを殺すために非常に役に立つツールです。テストのコレクション、 test suite を使 ... 挿入したり、アプリケーションの出力を検査したり、さらに一般に、書いたコードが期待通りの動作をするかどうかを検証できます。 The preferred way to write tests in Django is using the unittest module built-in to the Python standard library. This is covered in deta ...
https://man.mtool.work/django/6.1/topics/testing/
Djangoにおけるパスワード管理 — Django 6.1 ドキュメント 8248
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoにおけるパスワード管理 ¶ パスワード管理は一般的に、不必要に再発明されるべきではないものです。Djangoはユーザーのパスワードを管理するための安全で ... めの関数群を提供します。これらは User モデルとは独立して使用できます。 check_password ( password , encoded , setter = None , preferred = 'default' ) [ソース] ¶ acheck_password ( password , encoded , asetter = None , preferred = 'default' ) ¶ 非同期バージョン ... ou can pass a callable setter that takes the password and will be called when you need to regenerate it. You can also pass preferred to change a hashing algorithm if you don't want to use the default (first entry of PASSWORD_HASHERS setting). See Django に ...
https://man.mtool.work/django/6.1/topics/auth/passwords.html
Djangoにおけるパスワード管理 — Django 6.1 ドキュメント 8248
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoにおけるパスワード管理 ¶ パスワード管理は一般的に、不必要に再発明されるべきではないものです。Djangoはユーザーのパスワードを管理するための安全で ... めの関数群を提供します。これらは User モデルとは独立して使用できます。 check_password ( password , encoded , setter = None , preferred = 'default' ) [ソース] ¶ acheck_password ( password , encoded , asetter = None , preferred = 'default' ) ¶ 非同期バージョン ... ou can pass a callable setter that takes the password and will be called when you need to regenerate it. You can also pass preferred to change a hashing algorithm if you don't want to use the default (first entry of PASSWORD_HASHERS setting). See Django に ...
https://man.mtool.work/django/6.1/topics/auth/passwords.html
PREV 1 2 3 4 NEXT