per page, with , order by , clip by
Results of 1 - 10 of about 28 for editor (0.003 sec.)
マイグレーション・オペレーション — Django 6.1 ドキュメント 11847
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション・オペレーション ¶ マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーション ... 。フィールドが null 許容でなく、デフォルト値を持たない場合、この操作は不可逆です。 Changed in Django 6.0: BaseDatabaseSchemaEditor and PostgreSQL backends no longer use CASCADE to delete dependent related database objects, such as views. Any dependent o ... おいて処理の場所が一致している履歴を反映したモデルを含んだ django.apps.registry.Apps のインスタンスであり、第二引数は SchemaEditor のインスタンスです。 reverse_code 引数はマイグレーションを元に戻す際に呼び出されます。この呼び出し可能オブジェクトはマイグ ... untry モデル上の初期オブジェクトを追加する例を示します: from django.db import migrations def forwards_func ( apps , schema_editor ): # We get the model from the versioned app registry; # if we directly import it, it'll be the wrong version Country = ap ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
マイグレーション・オペレーション — Django 6.1 ドキュメント 11847
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション・オペレーション ¶ マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーション ... 。フィールドが null 許容でなく、デフォルト値を持たない場合、この操作は不可逆です。 Changed in Django 6.0: BaseDatabaseSchemaEditor and PostgreSQL backends no longer use CASCADE to delete dependent related database objects, such as views. Any dependent o ... おいて処理の場所が一致している履歴を反映したモデルを含んだ django.apps.registry.Apps のインスタンスであり、第二引数は SchemaEditor のインスタンスです。 reverse_code 引数はマイグレーションを元に戻す際に呼び出されます。この呼び出し可能オブジェクトはマイグ ... untry モデル上の初期オブジェクトを追加する例を示します: from django.db import migrations def forwards_func ( apps , schema_editor ): # We get the model from the versioned app registry; # if we directly import it, it'll be the wrong version Country = ap ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
Working with Git and GitHub — Django 6.1 ドキュメント 11077
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Working with Git and GitHub ¶ This section explains how the community can contribute code to Django via pull requests. If you're interested in how m ... emselves. Editing commit messages ¶ To change the message of the most recent commit, run: git commit --amend This opens an editor with the current commit message. Edit it, save, and close to update the commit. To change the message of an earlier commit ... rd" option in interactive rebase. For example, to reword one of the last three commits: git rebase -i HEAD~3 This opens an editor listing the three commits, each prefixed with the word "pick". Change "pick" to "reword" (or "r") on the line of the commi ... t you want to change, then save and close. A new editor will open for each commit marked as "reword", allowing you to update the message. See コミットガイドライン for the require ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
Working with Git and GitHub — Django 6.1 ドキュメント 10421
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Working with Git and GitHub ¶ This section explains how the community can contribute code to Django via pull requests. If you're interested in how m ... emselves. Editing commit messages ¶ To change the message of the most recent commit, run: git commit --amend This opens an editor with the current commit message. Edit it, save, and close to update the commit. To change the message of an earlier commit ... rd" option in interactive rebase. For example, to reword one of the last three commits: git rebase -i HEAD~3 This opens an editor listing the three commits, each prefixed with the word "pick". Change "pick" to "reword" (or "r") on the line of the commi ... t you want to change, then save and close. A new editor will open for each commit marked as "reword", allowing you to update the message. See コミットガイドライン for the require ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 10290
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... 例えば、特定のデータベースに対してのみマイグレーションを実行したい場合です。 これを行うには、 RunPython 操作の中で、 schema_editor.connection.alias 属性を見て、データベース接続のエイリアスを確認します: from django.db import migrations def forwards ( app ... s , schema_editor ): if schema_editor . connection . alias != "default" : return # Your migration code goes here class Migration ( migration ... True これをマイグレーションに利用するには、次のようにします: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... class Migration ( migrations . Migration ): dependencies = [ # Dependencies to othe ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 9782
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... 例えば、特定のデータベースに対してのみマイグレーションを実行したい場合です。 これを行うには、 RunPython 操作の中で、 schema_editor.connection.alias 属性を見て、データベース接続のエイリアスを確認します: from django.db import migrations def forwards ( app ... s , schema_editor ): if schema_editor . connection . alias != "default" : return # Your migration code goes here class Migration ( migration ... True これをマイグレーションに利用するには、次のようにします: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... class Migration ( migrations . Migration ): dependencies = [ # Dependencies to othe ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
JavaScript code — Django 6.1 ドキュメント 9651
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » JavaScript code ¶ While most of Django core is Python, the admin and gis contrib apps contain JavaScript code. Please follow these coding standards ... hen writing JavaScript code for inclusion in Django. Code style ¶ Please conform to the indentation style dictated in the .editorconfig file. We recommend using a text editor with EditorConfig support to avoid indentation and whitespace issues. Most of ... gs and style errors. Biome will be run by the pre-commit hooks. We also recommended installing a Biome plugin in your text editor. Where possible, write code that will work even if the page structure is later changed with JavaScript. For instance, when ... click QUnit assert admin style Please jQuery command line equal length web browser indentation Biome install conform text editor files there instead installing クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
SchemaEditor — Django 6.1 ドキュメント 9520
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » SchemaEditor ¶ class BaseDatabaseSchemaEditor [ソース] ¶ Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような ... フィールドを削除する」といった操作を SQL に変換する、データベースの抽象レイヤーの部分です。後者の仕事を担当するのが、 SchemaEditor です。 Django を使っている普通の開発者が SchemaEditor を直接扱うことはほとんどありませんが、自前のマイグレーションシステム ... には、SQL を書くのではなく、こちらを選びましょう。 Django のデータベースのバックエンドは、それぞれ対応するバージョンの SchemaEditor を提供しており、好きなときに connection.schema_editor() コンテキストマネージャを使ってアクセスできます。 with connection . ... schema_editor () as schema_editor : schema_editor . delete_model ( MyModel ) これは、トランザクションや遅延SQL ( ForeignKey 制約の作成な ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
SchemaEditor — Django 6.1 ドキュメント 8865
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » SchemaEditor ¶ class BaseDatabaseSchemaEditor [ソース] ¶ Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような ... フィールドを削除する」といった操作を SQL に変換する、データベースの抽象レイヤーの部分です。後者の仕事を担当するのが、 SchemaEditor です。 Django を使っている普通の開発者が SchemaEditor を直接扱うことはほとんどありませんが、自前のマイグレーションシステム ... には、SQL を書くのではなく、こちらを選びましょう。 Django のデータベースのバックエンドは、それぞれ対応するバージョンの SchemaEditor を提供しており、好きなときに connection.schema_editor() コンテキストマネージャを使ってアクセスできます。 with connection . ... schema_editor () as schema_editor : schema_editor . delete_model ( MyModel ) これは、トランザクションや遅延SQL ( ForeignKey 制約の作成な ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
JavaScript code — Django 6.1 ドキュメント 8471
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » JavaScript code ¶ While most of Django core is Python, the admin and gis contrib apps contain JavaScript code. Please follow these coding standards ... hen writing JavaScript code for inclusion in Django. Code style ¶ Please conform to the indentation style dictated in the .editorconfig file. We recommend using a text editor with EditorConfig support to avoid indentation and whitespace issues. Most of ... gs and style errors. Biome will be run by the pre-commit hooks. We also recommended installing a Biome plugin in your text editor. Where possible, write code that will work even if the page structure is later changed with JavaScript. For instance, when ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
PREV 1 2 3 NEXT