per page, with , order by , clip by
Results of 1 - 10 of about 22 for loaddata (0.005 sec.)
フィクスチャ (fixture) 13938
フィクスチャ (fixture) フィクスチャ (fixture) とは、シリアライズされたデータベースのコンテンツを含むファイルのコレクションです。各フィクスチャにはユニークな名前があり、フィクスチャを構成するファイルは、複数のアプリケーションの複数のディレク ... スト のためのデータを事前に投入できます。 class MyTestCase ( TestCase ): fixtures = [ "fixture-label" ] または 初期データ を loaddata コマンドを使って提供することもできます: django-admin loaddata <fixture label> Djangoにフィクスチャを認識させる Django はこ ... 読み込みます。指定されたフィクスチャに拡張子がある場合、そのタイプのフィクスチャだけが読み込まれます。たとえば django-admin loaddata mydata.json mydata と呼ばれる JSON フィクスチャのみを読み込みます。フィクスチャの拡張子は シリアライザ に登録された名前 (例 ... 子を省略した場合、Django は利用可能なすべてのフィクスチャタイプから、マッチするフィクスチャを検索します。例えば django-admin loaddata mydata これは mydata というフィクスチャタイプのフィクスチャを探します。フィクスチャディレクトリに mydata.json が含まれてい ...
https://man.mtool.work/django/6.1/topics/db/fixtures.html
モデルに初期データを投入する 12693
モデルに初期データを投入する It's sometimes useful to prepopulate your database with hardcoded data when you're first setting up an app. You can provide initial data with migrations or fixtures. マイグレーションで初期データを投入する アプリ ... このデータは、アプリケーション内の fixtures ディレクトリ内に保存しておくことができます。 データを読み込むには、 manage.py loaddata <fixturename> を呼び出します。ここで <fixturename> は作成したフィクスチャファイルの名前です。 loaddata を実行するたびに、フ ... クスチャからデータが読み込まれ、データベースに再ロードされます。これは、フィクスチャによって作成された行の一つを変更してから loaddata を再度実行すると、変更が元に戻ってしまうことを意味します。 フィクスチャファイルを探す場所を Django に教える デフォルトでは ... 、Djangoは各アプリ内の fixtures ディレクトリでフィクスチャを探すため、 loaddata sample コマンドで my_app/fixtures/sample.json ファイルを見つけられます。相対パスも使用できるため、 loaddata my_app/sample ...
https://man.mtool.work/django/6.1/howto/initial-data.html
Django 1.3.6 リリースノート 9225
Django 1.3.6 リリースノート February 19, 2013 Django 1.3.6 fixes four security issues present in previous Django releases in the 1.3 series. This is the sixth bugfix/security release in the Django 1.3 series. Host header poisoning Some part ... zer does not create documents with a DTD, so this should not cause any issues with the typical round-trip from dumpdata to loaddata , but if you feed your own XML documents to the loaddata management command, you will need to ensure they do not contain a ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.4.4 リリースノート 9225
Django 1.4.4 リリースノート February 19, 2013 Django 1.4.4 fixes four security issues present in previous Django releases in the 1.4 series, as well as several other bugs and numerous documentation improvements. This is the fourth bugfix/se ... zer does not create documents with a DTD, so this should not cause any issues with the typical round-trip from dumpdata to loaddata , but if you feed your own XML documents to the loaddata management command, you will need to ensure they do not contain a ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
django-admin と manage.py 8854
django-admin と manage.py django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り説明します。 さらに、 manage.py は各 Django プロジェクト内に自動的に作成されます。 jango-admi ... プリケーション名が指定されなかった場合、インストールされたすべてのアプリケーションをダンプします。 dumpdata のアウトプットは loaddata に対するインプットして使用できます。 dumpdata の出力をファイルとして保存すると、 テスト の フィクスチャ や、 初期データ と ... のサポートのみが実装されています。 --include-views このオプションを指定すると、データベースビュー用のモデルも作成されます。 loaddata django-admin loaddata fixture [fixture ...] 指定された フィクスチャ の内容を検索してデータベースにロードします。 --databas ... み込む sys.stdin から入力を読み込むには、フィクスチャ名としてハイフンを使用します。たとえば下記のようにします: django-admin loaddata --format=json - stdin から読み込む場合、 --format オプションで入力の シリアライズフォーマット (例 json や xml ) を指定する ...
https://man.mtool.work/django/6.1/ref/django-admin.html
索引 8602
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... --all diffsettings コマンドラインオプション dumpdata コマンドラインオプション makemessages コマンドラインオプション --app loaddata コマンドラインオプション --backwards sqlmigrate コマンドラインオプション --blank ogrinspect コマンドラインオプション --buf ... コマンドラインオプション dumpdata コマンドラインオプション flush コマンドラインオプション inspectdb コマンドラインオプション loaddata コマンドラインオプション migrate コマンドラインオプション remove_stale_contenttypes コマンドラインオプション showmigration ... kemigrations コマンドラインオプション --exclude compilemessages コマンドラインオプション dumpdata コマンドラインオプション loaddata コマンドラインオプション makemessages コマンドラインオプション startapp コマンドラインオプション startproject コマンドライ ...
https://man.mtool.work/django/6.1/genindex.html
Django 0.96 リリースノート 8349
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... manage.py A few of the options to manage.py have changed with the addition of fixture support: There are new dumpdata and loaddata commands which, as you might expect, will dump and load data to/from the database. These commands can operate against any ... of Django's supported serialization formats. The sqlinitialdata command has been renamed to sqlcustom to emphasize that loaddata should be used for data (and sqlcustom for other custom SQL -- views, stored procedures, etc.). The vestigial install comm ...
https://man.mtool.work/django/6.1/releases/0.96.html
Django 1.6.1 リリースノート 8232
Django 1.6.1 リリースノート December 12, 2013 This is Django 1.6.1, a bugfix release for Django 1.6. In addition to the bug fixes listed below, translations submitted since the 1.6 release are also included. Bug fixes Fixed BCryptSHA256Pass ... .contrib.humanize translations where the Unicode sequence for the non-breaking space was returned verbatim (#21415). Fixed loaddata error when fixture file name contained any dots not related to file extensions (#21457) or when fixture path was relative ...
https://man.mtool.work/django/6.1/releases/1.6.1.html
Django 1.8.8 リリースノート 8232
Django 1.8.8 リリースノート January 2, 2016 Django 1.8.8 fixes several bugs in 1.8.7. Python 3.2 users, please be advised that we've decided to drop support for Python 3.2 in Django 1.8.x at the end of 2016. We won't break things intentiona ... regression in the admin which ignored line breaks in read-only fields instead of converting them to <br> ( #25465 ). Made loaddata skip disabling and enabling database constraints when it doesn't load any fixtures ( #23372 ). Fixed a crash in QuerySet.v ...
https://man.mtool.work/django/6.1/releases/1.8.8.html
Django 1.9.1 リリースノート 8114
Django 1.9.1 リリースノート January 2, 2016 Django 1.9.1 では、1.9 にあったいくつかのバグを修正しました。 バグ修正 Fixed BaseCache.get_or_set() with the DummyCache backend ( #25840 ). Fixed a regression in FormMixin causing forms to be vali ... them to <br> ( #25465 ). Fixed incorrect object reference in SingleObjectMixin.get_context_object_name() ( #26006 ). Made loaddata skip disabling and enabling database constraints when it doesn't load any fixtures ( #23372 ). Restored contrib.auth hashe ...
https://man.mtool.work/django/6.1/releases/1.9.1.html
PREV 1 2 3 NEXT