per page, with , order by , clip by
Results of 1 - 10 of about 21 for managed (0.006 sec.)
レガシーなデータベースと Django の統合 12735
レガシーなデータベースと Django の統合 Django は新しいアプリケーションを開発するのに最適ですが、レガシーなデータベースと統合することも可能です。Django には、それを自動化するいくつかのユーティリティが含まれています。 このドキュメントは チュー ... on パッケージの中に配置します。そして、アプリを INSTALLED_APPS の設定に追加します。 デフォルトでは、 inspectdb は未管理 (unmanaged) なモデルを作成します。つまり、モデルの Meta クラス内の managed = False により、Django はテーブルの作成・変更・削除を管理し ... odel ): id = models . IntegerField ( primary_key = True ) first_name = models . CharField ( max_length = 70 ) class Meta : managed = False db_table = "CENSUS_PERSONS" Django にテーブルのライフサイクルの管理を行ってほしい場合、上記の managed オプションを ...
https://man.mtool.work/django/6.1/howto/legacy-databases.html
モデルの Meta オプション 12735
モデルの Meta オプション このドキュメントでは、モデル内部の class Meta 内でモデルに与えられる、すべての可能な メタデータオプション を説明します。 利用可能な Meta オプション abstract Options. abstract abstract = True の場合、このモデルは 抽象 ... order_date ascending. get_latest_by = [ "-priority" , "order_date" ] 詳しくは latest() のドキュメントを参照してください。 managed Options. managed デフォルトは True です。つまり、 Django は migrate やマイグレーションの一部として適切なデータベーステーブ ... 、削除の操作を行いません。これは、モデルが既存のテーブルや他の方法で作成されたデータベースビューを表す場合に便利です。これは managed=False の場合の 唯一の 違いです。モデルの処理に関する他のすべての側面は、通常とまったく同じです。これには以下が含まれます。 ... for later code readers, it's recommended to specify all the columns from the database table you are modeling when using unmanaged models. managed=False のモデルが ManyToManyField を含み、それが別の管理対象外モデルを指している場合、多対多の結合のための中 ...
https://man.mtool.work/django/6.1/ref/models/options.html
Django 1.7.2 リリースノート 9995
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 ... todetector to generate an AlterModelOptions operation instead of DeleteModel and CreateModel operations when changing Meta.managed . This prevents data loss when changing managed from False to True and vice versa ( #24037 ). Enabled the sqlsequencereset ...
https://man.mtool.work/django/6.1/releases/1.7.2.html
データベースのマイグレーションの作成方法 9437
データベースのマイグレーションの作成方法 このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成方法と書き方について説明します。マイグレーションに関する入門的な資料を探しているなら、 トピッ ... ary" , field = models . BooleanField ( default = False ), ), ] 未管理状態のモデルを管理状態に変更する 未管理状態のモデル( managed=False ) を管理状態に変更する場合、 managed=False を削除し、マイグレーションを生成してから、モデルにスキーマ関連の変更を加え ... る必要があります。これは、 Meta.managed を変更する操作を含むマイグレーションに含まれるスキーマ変更が適用されない可能性があるためです。 ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
Django の機能廃止のタイムライン 9437
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... gers autocommit , commit_on_success , and commit_manually , defined in django.db.transaction , the functions commit_unless_managed and rollback_unless_managed , also defined in django.db.transaction , the TRANSACTIONS_MANAGED setting. The cycle and firs ... nd django.db.close_connection() django.db.backends.creation.BaseDatabaseCreation.set_autocommit() django.db.transaction.is_managed() django.db.transaction.managed() django.forms.widgets.RadioInput will be removed in favor of django.forms.widgets.RadioCh ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 1.8 リリースノート 9437
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... nagers autocommit , commit_on_success , and commit_manually , defined in django.db.transaction the functions commit_unless_managed and rollback_unless_managed , also defined in django.db.transaction the TRANSACTIONS_MANAGED setting The cycle and firstof ... nd django.db.close_connection() django.db.backends.creation.BaseDatabaseCreation.set_autocommit() django.db.transaction.is_managed() django.db.transaction.managed() django.forms.widgets.RadioInput is removed. The module django.test.simple and the class ...
https://man.mtool.work/django/6.1/releases/1.8.html
用語集 8625
用語集 具象モデル (concrete model) 抽象モデルでないモデル ( abstract=False ) のこと。 フィールド (field) model の属性の1つで、与えられたフィールドは通常1つのデータベースのカラムと1対1に対応します。 詳しくは モデル を参照。 ジェネリックビュー ... ます。これにはデータベースの設定や、Django 固有のオプション、アプリケーション固有の設定が含まれます。 プロパティ (property) "managed attributes" としても知られる、 Python 2.2 以降の機能です。使い方は属性アクセスのようでありながら、実際はメソッド呼び出しを ...
https://man.mtool.work/django/6.1/glossary.html
Django 1.1 リリースノート 8625
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... sult the F expressions documentation . Model improvements A number of features have been added to Django's model layer: "Unmanaged" models You can now control whether or not Django manages the life-cycle of the database tables for a model using the mana ... isting table or a database view that has been created by some other means. For more details, see the documentation for the managed option. プロキシモデル You can now create proxy models : subclasses of existing models that only add Python-level (rather ... he real data. All the details can be found in the proxy models documentation . This feature is similar on the surface to unmanaged models, so the documentation has an explanation of how proxy models differ from unmanaged models . Deferred fields In some ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 2.2 リリースノート 8625
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ent now supports automatic JSON serialization of list and tuple data when content_type='application/json' . The new ORACLE_MANAGED_FILES test database setting allows using Oracle Managed Files (OMF) tablespaces. Deferrable database constraints are now c ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django のローカライズ 8067
Django のローカライズ 管理者サイトや検証のエラーメッセージなど、Django の各種パーツは国際化されています。つまり、これらのメッセージはユーザーの言語や国によって異なるように表示することができるようになっています。そのため、Django では、Django ... 特有のフォーマットについて記述しています。詳細については 表示形式のローカライズ を参照してください。 The format files aren't managed by the use of Transifex. To change them, you must: Create a pull request against the Django Git main branch, as for any co ...
https://man.mtool.work/django/6.1/internals/contributing/localizing.html
PREV 1 2 3 NEXT