per page, with , order by , clip by
Results of 1 - 10 of about 11 for SchemaEditor (0.003 sec.)
SchemaEditor 13923
SchemaEditor class BaseDatabaseSchemaEditor [ソース] Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような操作を実行するべきかを計算してその結果を保管するロジックの部分 ( django.db.migrations )と、「モ ... 」や「フィールドを削除する」といった操作を SQL に変換する、データベースの抽象レイヤーの部分です。後者の仕事を担当するのが、 SchemaEditor です。 Django を使っている普通の開発者が SchemaEditor を直接扱うことはほとんどありませんが、自前のマイグレーションシステム ... た場合には、SQL を書くのではなく、こちらを選びましょう。 Django のデータベースのバックエンドは、それぞれ対応するバージョンの SchemaEditor を提供しており、好きなときに connection.schema_editor() コンテキストマネージャを使ってアクセスできます。 with connection . ... せん。 Django のマイグレーション機能を使うためには、サードパーティ製のデータベースバックエンドを書いたり保守したりする場合、 SchemaEditor の実装を提供する必要があります。しかし、データベースが SQL の使用やリレーショナルデザインにおいて比較的標準的である限り、組 ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
Django 1.7.1 リリースノート 10117
Django 1.7.1 リリースノート October 22, 2014 Django 1.7.1 fixes several bugs in 1.7. バグ修正 Allowed related many-to-many fields to be referenced in the admin ( #23604 ). Added a more helpful error message if you try to migrate an app with ... d bug in migrations that prevented foreign key constraints to unmanaged models with a custom primary key ( #23415 ). Added SchemaEditor for MySQL GIS backend so that spatial indexes will be created for apps with migrations ( #23538 ). Added SchemaEditor for ...
https://man.mtool.work/django/6.1/releases/1.7.1.html
API リファレンス 9548
API リファレンス アプリケーション システムチェックフレームワーク ビルトインのクラスベースビュー API クリックジャッキング対策 contrib パッケージ コンテンツセキュリティポリシー クロスサイトリクエストフォージェリ (CSRF) 対策 データベース djang ... ロギング ミドルウェア マイグレーション・オペレーション モデル ページ分割 (Paginator) リクエストとレスポンスのオブジェクト SchemaEditor 設定 シグナル Tasks テンプレート TemplateResponse および SimpleTemplateResponse Unicode データ django.urls ユーティリティ関 ...
https://man.mtool.work/django/6.1/ref/
Django 2.2 リリースノート 8801
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... get_constraints() returns must be normalized by identifier_converter() . SQL generation for indexes is moved from Index to SchemaEditor and these SchemaEditor methods are added: _create_primary_key_sql() and _delete_primary_key_sql() _delete_index_sql() (to ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 1.7.2 リリースノート 8410
Django 1.7.2 リリースノート January 2, 2015 Django 1.7.2 fixes several bugs in 1.7.1. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.9.0). バグ修正 Fixed migration's renaming of ... l. Added missing index_together handling for SQLite ( #23880 ). Fixed a crash when RunSQL SQL content was collected by the schema editor, typically when using sqlmigrate ( #23909 ). Fixed a regression in contrib.admin add/change views which caused some Model ... e growth in Django's own test suite ( #23969 ). Fixed timesince filter translations in Korean ( #23989 ). Fixed the SQLite SchemaEditor to properly add defaults in the absence of a user specified default . For example, a CharField with blank=True didn't set ...
https://man.mtool.work/django/6.1/releases/1.7.2.html
Django 2.0 リリースノート 8232
Django 2.0 リリースノート December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... abase that your backend works with. Django may use it in various messages, such as in system checks. The first argument of SchemaEditor._alter_column_type_sql() is now model rather than table . The first argument of SchemaEditor._create_index_name() is now t ...
https://man.mtool.work/django/6.1/releases/2.0.html
マイグレーション 8037
マイグレーション マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに反映させる方法です。大抵のマイグレーションは自動で行われるものの、いつマイグレーションが作られ ... で利用できるすべてのバックエンドに対応しています。サードパーティ製のバックエンドでも、プログラムからのスキーマの変更の操作( SchemaEditor クラスで実行される)に対応していれば大丈夫です。 しかし、スキーマのマイグレーションは、データベースによってが得手・不得手が ... storical versions of all your models loaded into it to match where in your history the migration sits, and the second is a SchemaEditor , which you can use to manually effect database schema changes (but beware, doing this can confuse the migration autodetec ...
https://man.mtool.work/django/6.1/topics/migrations.html
Django 3.0 リリースノート 7841
Django 3.0 リリースノート 2019年12月2日 Django 3.0 へようこそ! このリリースノートでは、 バージョン 3.0 の新機能 と、Django 2.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... pe() may no longer return tuples. If the database can create foreign keys in the same SQL statement that adds a field, add SchemaEditor.sql_create_column_inline_fk with the appropriate SQL; otherwise, set DatabaseFeatures.can_create_inline_fk = False . Datab ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django ドキュメント目次 7663
Django ドキュメント目次 さぁ始めましょう Django の概要 モデルの設計 モデルのインストール 自動生成される API で楽しむ 作業場 (scaffold) ではなく完成品 (whole house) の、動的な admin インタフェース URL を設計する ビューの自作 テンプレートを設 ... オブジェクト JsonResponse オブジェクト StreamingHttpResponse オブジェクト FileResponse オブジェクト HttpResponseBase クラス SchemaEditor メソッド 属性 設定 コアの設定 認証 メッセージ セッション サイト 静的ファイル コア設定 トピック別インデックス シグナル モデ ...
https://man.mtool.work/django/6.1/contents.html
マイグレーション・オペレーション 7663
マイグレーション・オペレーション マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーションを宣言的に保持するオブジェクト、から構成されます。 Django はこれらの Operation オブジェクトも ... です)。フィールドが 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 引数はマイグレーションを元に戻す際に呼び出されます。この呼び出し可能オブジェクトはマイグ ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
PREV 1 2 NEXT