per page, with , order by , clip by
Results of 1 - 10 of about 14 for sample (0.005 sec.)
モデルに初期データを投入する — Django 6.1 ドキュメント 12708
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルに初期データを投入する ¶ It's sometimes useful to prepopulate your database with hardcoded data when you're first setting up an app. You can p ... を探す場所を Django に教える ¶ デフォルトでは、Djangoは各アプリ内の fixtures ディレクトリでフィクスチャを探すため、 loaddata sample コマンドで my_app/fixtures/sample.json ファイルを見つけられます。相対パスも使用できるため、 loaddata my_app/sample とすると ... my_app/fixtures/my_app/sample.json ファイルを見つけられます。 Django は FIXTURE_DIRS 設定で指定されたディレクトリのリストからもフィクスチャを探します。 ... デフォルトの検索を完全に無効にするには、フィクスチャファイルの場所を絶対パスで指定します。例えば、 loaddata /path/to/sample のようにします。 フィクスチャファイルの名前空間を指定する Django は、名前が一致するフィクスチャファイルを最初に見つけると、 ...
https://man.mtool.work/django/6.1/howto/initial-data.html
モデルに初期データを投入する — Django 6.1 ドキュメント 12568
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルに初期データを投入する ¶ It's sometimes useful to prepopulate your database with hardcoded data when you're first setting up an app. You can p ... を探す場所を Django に教える ¶ デフォルトでは、Djangoは各アプリ内の fixtures ディレクトリでフィクスチャを探すため、 loaddata sample コマンドで my_app/fixtures/sample.json ファイルを見つけられます。相対パスも使用できるため、 loaddata my_app/sample とすると ... my_app/fixtures/my_app/sample.json ファイルを見つけられます。 Django は FIXTURE_DIRS 設定で指定されたディレクトリのリストからもフィクスチャを探します。 ... デフォルトの検索を完全に無効にするには、フィクスチャファイルの場所を絶対パスで指定します。例えば、 loaddata /path/to/sample のようにします。 フィクスチャファイルの名前空間を指定する Django は、名前が一致するフィクスチャファイルを最初に見つけると、 ...
https://man.mtool.work/django/6.1/howto/initial-data.html
コンテンツセキュリティポリシー — Django 6.1 ドキュメント 9330
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » コンテンツセキュリティポリシー ¶ New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection at ... nts for common CSP source expressions. NONE ¶ Represents 'none' . Blocks loading resources for the given directive. REPORT_SAMPLE ¶ Represents 'report-sample' . Instructs the browser to include a sample of the violating code in reports. Note that this ...
https://man.mtool.work/django/6.1/ref/csp.html
コンテンツセキュリティポリシー — Django 6.1 ドキュメント 9330
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » コンテンツセキュリティポリシー ¶ New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection at ... nts for common CSP source expressions. NONE ¶ Represents 'none' . Blocks loading resources for the given directive. REPORT_SAMPLE ¶ Represents 'report-sample' . Instructs the browser to include a sample of the violating code in reports. Note that this ...
https://man.mtool.work/django/6.1/ref/csp.html
PostgreSQL 固有の集計関数 — Django 6.1 ドキュメント 9015
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有の集計関数 ¶ これらの機能は、 django.contrib.postgres.aggregates モジュールから利用可能です。これらについての詳細は、 PostgreSQLドキュ ... efault = None ) ¶ 相関係数を float で返すか、マッチする行がない場合は default で返す。 CovarPop ¶ class CovarPop ( y , x , sample = False , filter = None , default = None ) ¶ 母集団の共分散を float で返すか、マッチする行がない場合は default で返す。 sa ... mple ¶ オプション。デフォルトでは CovarPop は一般母集団の共分散を返す。ただし、 sample=True の場合、戻り値はサンプル母集団の共分散になる。 RegrAvgX ¶ class RegrAvgX ( y , x , filter = None , default = None ) ¶ ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/aggregates.html
PostgreSQL 固有の集計関数 — Django 6.1 ドキュメント 9015
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有の集計関数 ¶ これらの機能は、 django.contrib.postgres.aggregates モジュールから利用可能です。これらについての詳細は、 PostgreSQLドキュ ... efault = None ) ¶ 相関係数を float で返すか、マッチする行がない場合は default で返す。 CovarPop ¶ class CovarPop ( y , x , sample = False , filter = None , default = None ) ¶ 母集団の共分散を float で返すか、マッチする行がない場合は default で返す。 sa ... mple ¶ オプション。デフォルトでは CovarPop は一般母集団の共分散を返す。ただし、 sample=True の場合、戻り値はサンプル母集団の共分散になる。 RegrAvgX ¶ class RegrAvgX ( y , x , filter = None , default = None ) ¶ ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/aggregates.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 7947
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3 リリースノート ¶ March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plen ... of the first argument consistent with the handling of all other variables. So, an existing template that contains: {% url sample %} should be replaced with: {% load url from future %} {% url 'sample' %} The tags implementing the old behavior have been ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 7947
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3 リリースノート ¶ March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plen ... of the first argument consistent with the handling of all other variables. So, an existing template that contains: {% url sample %} should be replaced with: {% load url from future %} {% url 'sample' %} The tags implementing the old behavior have been ...
https://man.mtool.work/django/6.1/releases/1.3.html
Unit tests — Django 6.1 ドキュメント 7474
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 ... s requires a Django settings module that defines the databases to use. To help you get started, Django provides and uses a sample settings module that uses the SQLite database. See Using another settings module to learn how to use a different settings ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
フォームとフィールドのバリデーション — Django 6.1 ドキュメント 7474
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームとフィールドのバリデーション ¶ フォームのバリデーションは、データがクリーニング (clean) されるときに実行されます。このプロセスをカスタムした ... u and your designers to work out what works effectively in your particular situation. Our new code (replacing the previous sample) looks like this: from django import forms class ContactForm ( forms . Form ): # Everything as before. ... def clean ( sel ...
https://man.mtool.work/django/6.1/ref/forms/validation.html
PREV 1 2 NEXT