per page, with , order by , clip by
Results of 1 - 3 of about 3 for blocker (0.001 sec.)
データベースの計測 11886
データベースの計測 コードから発行されたクエリを理解して制御するために、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 8389
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... pe * 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 7589
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 times. We appreciate any and all contributions to the test suite! The Django tests all use the ... 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 un ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
PREV 1 NEXT