per page, with , order by , clip by
Results of 1 - 10 of about 50 for fixtures (0.006 sec.)
モデルに初期データを投入する — Django 6.1 ドキュメント 13264
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 ... rovide initial data with migrations or fixtures. マイグレーションで初期データを投入する ¶ アプリの初期データを自動的にロードするには、 データマイグレーション を作成します ... す。 フィクスチャでデータを投入する ¶ フィクスチャ (fixture) を使ってデータを投入することもできますが、 TransactionTestCase.fixtures を使わない限り、このデータは自動的にはロードされません。 フィクスチャは、Djangoがデータベースにインポートする方法を知ってい ... : Lennon - model : myapp.person pk : 2 fields : first_name : Paul last_name : McCartney このデータは、アプリケーション内の fixtures ディレクトリ内に保存しておくことができます。 データを読み込むには、 manage.py loaddata <fixturename> を呼び出します。ここで ...
https://man.mtool.work/django/6.1/howto/initial-data.html
モデルに初期データを投入する — Django 6.1 ドキュメント 13099
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 ... rovide initial data with migrations or fixtures. マイグレーションで初期データを投入する ¶ アプリの初期データを自動的にロードするには、 データマイグレーション を作成します ... す。 フィクスチャでデータを投入する ¶ フィクスチャ (fixture) を使ってデータを投入することもできますが、 TransactionTestCase.fixtures を使わない限り、このデータは自動的にはロードされません。 フィクスチャは、Djangoがデータベースにインポートする方法を知ってい ... : Lennon - model : myapp.person pk : 2 fields : first_name : Paul last_name : McCartney このデータは、アプリケーション内の fixtures ディレクトリ内に保存しておくことができます。 データを読み込むには、 manage.py loaddata <fixturename> を呼び出します。ここで ...
https://man.mtool.work/django/6.1/howto/initial-data.html
フィクスチャ (fixture) — Django 6.1 ドキュメント 10106
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フィクスチャ (fixture) ¶ フィクスチャ (fixture) とは、シリアライズされたデータベースのコンテンツを含むファイルのコレクションです。各フィクスチャには ... す。 フィクスチャを使う ¶ フィクスチャを使えば、 テスト のためのデータを事前に投入できます。 class MyTestCase ( TestCase ): fixtures = [ "fixture-label" ] または 初期データ を loaddata コマンドを使って提供することもできます: django-admin loaddata <fixture ... > Djangoにフィクスチャを認識させる ¶ Django はこれらの場所でフィクスチャを探します: インストールされた各アプリケーションの fixtures ディレクトリ内 FIXTURE_DIRS 設定にリストされている任意のディレクトリ内 フィクスチャによって名前が付けられたリテラル パス内 ... す。たとえば: django-admin loaddata foo/bar/mydata.json これは、インストールされている各アプリケーションに対して <app_label>/fixtures/foo/bar/mydata.json を、 FIXTURE_DIRS 内の各ディレクトリに対して <dirname>/foo/bar/mydata.json を、そしてリテラルパス foo/ ...
https://man.mtool.work/django/6.1/topics/db/fixtures.html
フィクスチャ (fixture) — Django 6.1 ドキュメント 10106
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フィクスチャ (fixture) ¶ フィクスチャ (fixture) とは、シリアライズされたデータベースのコンテンツを含むファイルのコレクションです。各フィクスチャには ... す。 フィクスチャを使う ¶ フィクスチャを使えば、 テスト のためのデータを事前に投入できます。 class MyTestCase ( TestCase ): fixtures = [ "fixture-label" ] または 初期データ を loaddata コマンドを使って提供することもできます: django-admin loaddata <fixture ... > Djangoにフィクスチャを認識させる ¶ Django はこれらの場所でフィクスチャを探します: インストールされた各アプリケーションの fixtures ディレクトリ内 FIXTURE_DIRS 設定にリストされている任意のディレクトリ内 フィクスチャによって名前が付けられたリテラル パス内 ... す。たとえば: django-admin loaddata foo/bar/mydata.json これは、インストールされている各アプリケーションに対して <app_label>/fixtures/foo/bar/mydata.json を、 FIXTURE_DIRS 内の各ディレクトリに対して <dirname>/foo/bar/mydata.json を、そしてリテラルパス foo/ ...
https://man.mtool.work/django/6.1/topics/db/fixtures.html
Django 1.4 リリースノート — Django 6.1 ドキュメント 9775
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 ... -clear option to delete all files at the destination before copying or linking the static files. It's now possible to load fixtures containing forward references when using MySQL with the InnoDB database engine. A new 403 response handler has been added ... Time zone information is included in the [+-]HH:MM format. Though the serializers now use these new formats when creating fixtures, they can still load fixtures that use the old format. supports_timezone changed to False for SQLite ¶ The database featur ... comes from an untrusted source. This feature isn't necessary for Django's YAML deserializer, whose primary use is to load fixtures consisting of simple objects. Even though fixtures are trusted data, the YAML deserializer now uses yaml.safe_load for add ...
https://man.mtool.work/django/6.1/releases/1.4.html
Django 1.4 リリースノート — Django 6.1 ドキュメント 9775
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 ... -clear option to delete all files at the destination before copying or linking the static files. It's now possible to load fixtures containing forward references when using MySQL with the InnoDB database engine. A new 403 response handler has been added ... Time zone information is included in the [+-]HH:MM format. Though the serializers now use these new formats when creating fixtures, they can still load fixtures that use the old format. supports_timezone changed to False for SQLite ¶ The database featur ... comes from an untrusted source. This feature isn't necessary for Django's YAML deserializer, whose primary use is to load fixtures consisting of simple objects. Even though fixtures are trusted data, the YAML deserializer now uses yaml.safe_load for add ...
https://man.mtool.work/django/6.1/releases/1.4.html
テストツール — Django 6.1 ドキュメント 8286
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... ystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. The Django Packages Testing tools grid has even more options for yo ... 。 各テストの終了時にデータベースを既知の状態にリセットすることで、テストの実施や ORM の利用を容易にします。 データベースの fixtures 。 テストの データベースバックエンドの機能をもとにしたスキップ 。 それ以外の特別な assert* メソッド。 Django's TestCase cl ... y import By from selenium.webdriver.firefox.webdriver import WebDriver class MySeleniumTests ( StaticLiveServerTestCase ): fixtures = [ "user-data.json" ] @classmethod def setUpClass ( cls ): super () . setUpClass () cls . selenium = WebDriver () cls . s ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
テストツール — Django 6.1 ドキュメント 8286
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... ystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. The Django Packages Testing tools grid has even more options for yo ... 。 各テストの終了時にデータベースを既知の状態にリセットすることで、テストの実施や ORM の利用を容易にします。 データベースの fixtures 。 テストの データベースバックエンドの機能をもとにしたスキップ 。 それ以外の特別な assert* メソッド。 Django's TestCase cl ... y import By from selenium.webdriver.firefox.webdriver import WebDriver class MySeleniumTests ( StaticLiveServerTestCase ): fixtures = [ "user-data.json" ] @classmethod def setUpClass ( cls ): super () . setUpClass () cls . selenium = WebDriver () cls . s ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
Django 3.0.2 リリースノート — Django 6.1 ドキュメント 8121
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.0.2 リリースノート ¶ 2020年1月2日 Django 3.0.2 では、3.0.1 にあったいくつかのバグを修正しました。 バグ修正 ¶ Fixed a regression in Django 3 ... en adding a foreign key and changing data in the same migration ( #31106 ). Fixed a regression in Django 3.0 where loading fixtures crashed for models defining a default for the primary key ( #31071 ). 目次 Django 3.0.2 リリースノート バグ修正 前のトピッ ...
https://man.mtool.work/django/6.1/releases/3.0.2.html
Django 3.0.2 リリースノート — Django 6.1 ドキュメント 7955
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.0.2 リリースノート ¶ 2020年1月2日 Django 3.0.2 では、3.0.1 にあったいくつかのバグを修正しました。 バグ修正 ¶ Fixed a regression in Django 3 ... en adding a foreign key and changing data in the same migration ( #31106 ). Fixed a regression in Django 3.0 where loading fixtures crashed for models defining a default for the primary key ( #31071 ). 目次 Django 3.0.2 リリースノート バグ修正 前のトピッ ...
https://man.mtool.work/django/6.1/releases/3.0.2.html
PREV 1 2 3 4 5 NEXT