per page, with , order by , clip by
Results of 1 - 10 of about 24 for compile (0.004 sec.)
ルックアップ API リファレンス — Django 6.1 ドキュメント 12677
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ルックアップ API リファレンス ¶ このドキュメントには、データベースクエリの WHERE 句を構築するための Django API であるルックアップの API リファレンス ... はこのAPIに従う例です。あるクラスが以下のメソッドを実装している場合、そのクラスはクエリ式APIに従っていると言えます: as_sql ( compiler , connection ) ¶ 式の SQL フラグメントを生成します。タプル (sql, params) を返します。 sql は SQL 文字列で、 params はクエ ... リパラメータのリストまたはタプルです。 compiler は SQLCompiler オブジェクトで、他の式をコンパイルするための compile() メソッドを持っています。 connection はクエリの実行に ... 使用する接続です。 expression.as_sql() の呼び出しは通常正しくありません。 代わりに compiler.compile(expression) を使用する必要があります。 compiler.compile() メソッドは式のベンダ固有のメソッドの呼び出しを行います。 ...
https://man.mtool.work/django/6.1/ref/models/lookups.html
ルックアップ API リファレンス — Django 6.1 ドキュメント 11676
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ルックアップ API リファレンス ¶ このドキュメントには、データベースクエリの WHERE 句を構築するための Django API であるルックアップの API リファレンス ... はこのAPIに従う例です。あるクラスが以下のメソッドを実装している場合、そのクラスはクエリ式APIに従っていると言えます: as_sql ( compiler , connection ) ¶ 式の SQL フラグメントを生成します。タプル (sql, params) を返します。 sql は SQL 文字列で、 params はクエ ... リパラメータのリストまたはタプルです。 compiler は SQLCompiler オブジェクトで、他の式をコンパイルするための compile() メソッドを持っています。 connection はクエリの実行に ... 使用する接続です。 expression.as_sql() の呼び出しは通常正しくありません。 代わりに compiler.compile(expression) を使用する必要があります。 compiler.compile() メソッドは式のベンダ固有のメソッドの呼び出しを行います。 ...
https://man.mtool.work/django/6.1/ref/models/lookups.html
エラーレポートの管理 — Django 6.1 ドキュメント 11676
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » エラーレポートの管理 ¶ サイトを公開している場合、 DEBUG 設定は常にオフにしておかなければなりません。これにより、サーバー動作は高速になり、エラーペー ... ます。これはコンパイルされた正規表現オブジェクトのリストでなければなりません。例えば: import re IGNORABLE_404_URLS = [ re . compile ( r "\.(php|cgi)$" ), re . compile ( r "^/phpmyadmin/" ), ] この例では、 .php または .cgi で終わる URL への 404 は報告され ... ん。 以下は、ブラウザやクローラがよくリクエストする従来の URL を除外する方法の例です: import re IGNORABLE_404_URLS = [ re . compile ( r "^/apple-touch-icon.*\.png$" ), re . compile ( r "^/favicon\.ico$" ), re . compile ( r "^/robots\.txt$" ), ] (これらは ... dden_settings ¶ センシティブな設定や request.META にマッチする正規表現オブジェクト。デフォルトでは下記です: import re re . compile ( r "API|AUTH|TOKEN|KEY|SECRET|PASS|SIGNATURE|HTTP_COOKIE" , flags = re . IGNORECASE ) is_active ( request ) [ソース] ¶ ge ...
https://man.mtool.work/django/6.1/howto/error-reporting.html
エラーレポートの管理 — Django 6.1 ドキュメント 10892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » エラーレポートの管理 ¶ サイトを公開している場合、 DEBUG 設定は常にオフにしておかなければなりません。これにより、サーバー動作は高速になり、エラーペー ... ます。これはコンパイルされた正規表現オブジェクトのリストでなければなりません。例えば: import re IGNORABLE_404_URLS = [ re . compile ( r "\.(php|cgi)$" ), re . compile ( r "^/phpmyadmin/" ), ] この例では、 .php または .cgi で終わる URL への 404 は報告され ... ん。 以下は、ブラウザやクローラがよくリクエストする従来の URL を除外する方法の例です: import re IGNORABLE_404_URLS = [ re . compile ( r "^/apple-touch-icon.*\.png$" ), re . compile ( r "^/favicon\.ico$" ), re . compile ( r "^/robots\.txt$" ), ] (これらは ... dden_settings ¶ センシティブな設定や request.META にマッチする正規表現オブジェクト。デフォルトでは下記です: import re re . compile ( r "API|AUTH|TOKEN|KEY|SECRET|PASS|SIGNATURE|HTTP_COOKIE" , flags = re . IGNORECASE ) is_active ( request ) [ソース] ¶ ge ...
https://man.mtool.work/django/6.1/howto/error-reporting.html
Django 1.9.2 リリースノート — Django 6.1 ドキュメント 9491
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 back ... those files now have some invalid Python syntax. This causes difficulties for packaging systems that unconditionally byte-compile *.py files. To remedy this, a .py-tpl suffix is now used for the project and app template files included in Django. The .p ... on SQLite with more than 2000 parameters when DEBUG is True on distributions that increase the SQLITE_MAX_VARIABLE_NUMBER compile-time limit to over 2000, such as Debian ( #26063 ). Fixed a crash when using a reverse OneToOneField in ModelAdmin.readonl ...
https://man.mtool.work/django/6.1/releases/1.9.2.html
Django 1.9.2 リリースノート — Django 6.1 ドキュメント 9491
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 back ... those files now have some invalid Python syntax. This causes difficulties for packaging systems that unconditionally byte-compile *.py files. To remedy this, a .py-tpl suffix is now used for the project and app template files included in Django. The .p ... on SQLite with more than 2000 parameters when DEBUG is True on distributions that increase the SQLITE_MAX_VARIABLE_NUMBER compile-time limit to over 2000, such as Debian ( #26063 ). Fixed a crash when using a reverse OneToOneField in ModelAdmin.readonl ...
https://man.mtool.work/django/6.1/releases/1.9.2.html
Django 1.4 リリースノート — Django 6.1 ドキュメント 8106
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4 リリースノート ¶ March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatibl ... ffixes to IGNORABLE_404_ENDS . In Django 1.4, these two settings are superseded by IGNORABLE_404_URLS , which is a list of compiled regular expressions. Django won't send an email for 404 errors on URLs that match any of them. Furthermore, the previous ... e following lines in your settings file: import re IGNORABLE_404_URLS = ( # for each <prefix> in IGNORABLE_404_STARTS re . compile ( r "^<prefix>" ), # for each <suffix> in IGNORABLE_404_ENDS re . compile ( r "<suffix>$" ), ) Don't forget to escape char ... guments, which could lead to it erroneously considering an argument as a string literal when it wasn't. It now uses parser.compile_filter , like other tags. The internals of the tag aren't part of the official stable API, but in the interests of full di ...
https://man.mtool.work/django/6.1/releases/1.4.html
カスタムのルックアップを書く — Django 6.1 ドキュメント 8106
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのルックアップを書く ¶ Django には (たとえば exact や icontains などの) フィルタリングを行う 組み込みのルックアップ がたくさんあります。この ... させる必要があります。 from django.db.models import Lookup class NotEqual ( Lookup ): lookup_name = "ne" def as_sql ( self , compiler , connection ): lhs , lhs_params = self . process_lhs ( compiler , connection ) rhs , rhs_params = self . process_rhs ( c ... ならない制約は、文字列 __ を決して含んではならないということです。 We then need to define the as_sql method. This takes a SQLCompiler object, called compiler , and the active database connection. SQLCompiler objects are not documented, but the only thing ... we need to know about them is that they have a compile() method which returns a tuple containing an SQL string, and the parameters to be interpolated into that string. In most c ...
https://man.mtool.work/django/6.1/howto/custom-lookups.html
Django 1.4 リリースノート — Django 6.1 ドキュメント 8106
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4 リリースノート ¶ March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatibl ... ffixes to IGNORABLE_404_ENDS . In Django 1.4, these two settings are superseded by IGNORABLE_404_URLS , which is a list of compiled regular expressions. Django won't send an email for 404 errors on URLs that match any of them. Furthermore, the previous ... e following lines in your settings file: import re IGNORABLE_404_URLS = ( # for each <prefix> in IGNORABLE_404_STARTS re . compile ( r "^<prefix>" ), # for each <suffix> in IGNORABLE_404_ENDS re . compile ( r "<suffix>$" ), ) Don't forget to escape char ... guments, which could lead to it erroneously considering an argument as a string literal when it wasn't. It now uses parser.compile_filter , like other tags. The internals of the tag aren't part of the official stable API, but in the interests of full di ...
https://man.mtool.work/django/6.1/releases/1.4.html
カスタムのルックアップを書く — Django 6.1 ドキュメント 7906
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのルックアップを書く ¶ Django には (たとえば exact や icontains などの) フィルタリングを行う 組み込みのルックアップ がたくさんあります。この ... させる必要があります。 from django.db.models import Lookup class NotEqual ( Lookup ): lookup_name = "ne" def as_sql ( self , compiler , connection ): lhs , lhs_params = self . process_lhs ( compiler , connection ) rhs , rhs_params = self . process_rhs ( c ... ならない制約は、文字列 __ を決して含んではならないということです。 We then need to define the as_sql method. This takes a SQLCompiler object, called compiler , and the active database connection. SQLCompiler objects are not documented, but the only thing ... we need to know about them is that they have a compile() method which returns a tuple containing an SQL string, and the parameters to be interpolated into that string. In most c ...
https://man.mtool.work/django/6.1/howto/custom-lookups.html
PREV 1 2 3 NEXT