per page, with , order by , clip by
Results of 1 - 6 of about 6 for blocker (0.002 sec.)
データベースの計測 — Django 6.1 ドキュメント 12302
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースの計測 ¶ コードから発行されたクエリを理解して制御するために、Django は、データベースクエリの実行周辺にラッパー関数をインストールするため ... コード内の特定のフローに特化したものです。 前述したように、ラッパーの例はクエリ実行ブロッカーです。以下のようなものです: def blocker ( * args ): raise Exception ( "No database access allowed here." ) そして、テンプレートからのクエリをブロックするには、ビュ ... est ): context = { ... } # Code to generate context with all data. template_name = ... with connection . execute_wrapper ( blocker ): return render ( request , template_name , context ) ラッパーに送られるパラメーターは以下の通りです: execute -- クエリを ... することで、次のように、もう少し複雑なバージョンのブロッカーで、エラーメッセージにコネクション名を含めることができます。 def blocker ( execute , sql , params , many , context ): alias = context [ "connection" ] . alias raise Exception ( "Access to databas ...
https://man.mtool.work/django/6.1/topics/db/instrumentation.html
データベースの計測 — Django 6.1 ドキュメント 10949
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースの計測 ¶ コードから発行されたクエリを理解して制御するために、Django は、データベースクエリの実行周辺にラッパー関数をインストールするため ... コード内の特定のフローに特化したものです。 前述したように、ラッパーの例はクエリ実行ブロッカーです。以下のようなものです: def blocker ( * args ): raise Exception ( "No database access allowed here." ) そして、テンプレートからのクエリをブロックするには、ビュ ... est ): context = { ... } # Code to generate context with all data. template_name = ... with connection . execute_wrapper ( blocker ): return render ( request , template_name , context ) ラッパーに送られるパラメーターは以下の通りです: execute -- クエリを ... することで、次のように、もう少し複雑なバージョンのブロッカーで、エラーメッセージにコネクション名を含めることができます。 def blocker ( execute , sql , params , many , context ): alias = context [ "connection" ] . alias raise Exception ( "Access to databas ...
https://man.mtool.work/django/6.1/topics/db/instrumentation.html
How to release Django — Django 6.1 ドキュメント 8225
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up How to release Django ¶ このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでの ... * CVSS (4.0) Score & Vector A few days before any release ¶ As the release approaches, watch Trac to make sure no release blockers are left for the upcoming release. Under exceptional circumstances, such as to meet a pre-determined security release dat ... e, a release could still go ahead with an open release blocker. The releaser is trusted with the decision to release with an open release blocker or to postpone the release date of a no ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
How to release Django — Django 6.1 ドキュメント 8225
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up How to release Django ¶ このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでの ... * CVSS (4.0) Score & Vector A few days before any release ¶ As the release approaches, watch Trac to make sure no release blockers are left for the upcoming release. Under exceptional circumstances, such as to meet a pre-determined security release dat ... e, a release could still go ahead with an open release blocker. The releaser is trusted with the decision to release with an open release blocker or to postpone the release date of a no ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
Unit tests — Django 6.1 ドキュメント 7549
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Unit tests ¶ Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all ... ng review, assess test quality beyond just coverage numbers. Missing coverage should be considered a warning rather than a blocker and should be evaluated in context. Contrib apps ¶ Tests for contrib apps can be found in the tests/ directory, typically ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Unit tests — Django 6.1 ドキュメント 7549
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Unit tests ¶ Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all ... ng review, assess test quality beyond just coverage numbers. Missing coverage should be considered a warning rather than a blocker and should be evaluated in context. Contrib apps ¶ Tests for contrib apps can be found in the tests/ directory, typically ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
PREV 1 NEXT