Results of 1 - 10 of about 73 for migrations (0.003 sec.)
- マイグレーション — Django 4.0.6 ドキュメント 13875
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールド ... を適用したり、適用をキャンセルするのに使います。 makemigrations は、モデルに対して行った変更をもとに、新しいマイグ ... マイグレーションに対応する SQL 文を表示します。 showmigrations は、プロジェクトのマイグレーションとそのステータス ... に対するバージョン管理システムのようなものです。 makemigrations はモデルの変更点を1つのマイグレーションファイルにパ ...
-
https://man.plustar.jp/django/topics/migrations.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 13065
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... es « previous | up | next » How to create database migrations ¶ このドキュメントでは、遭遇する可能性のあるいくつ ... .connection.alias attribute: from django.db import migrations def forwards ( apps , schema_editor ): if schema_e ... # Your migration code goes here class Migration ( migrations . Migration ): dependencies = [ # Dependencies to ... other migrations ] operations = [ migrations . RunPython ( forwards ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]
- Django 1.7.1 release notes — Django 4.0.6 ドキュメント 10410
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... eating the contenttypes table ( #22411 ). Modified migrations dependency algorithm to avoid possible infinite re ... which were omitted on some backends when not using migrations ( #23416 ). Fixed serialization of type objects in ... migrations ( #22951 ). Allowed inline and hidden references t ... gether model options no longer results in infinite migrations ( #23452 ). Fixed crash in contrib.sitemaps if las ...
-
https://man.plustar.jp/django/releases/1.7.1.html
- [similar]
- Django 1.7.2 release notes — Django 4.0.6 ドキュメント 9544
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... er. Fixed MySQL 5.6+ crash with GeometryField s in migrations ( #23719 ). Fixed a migration crash when removing ... ld() as Transform.output_field ( #23420 ). Fixed a migration serializing bug involving float("nan") and float("i ... part of an index_together ( #23859 ). Fixed squashmigrations to respect the --no-optimize parameter ( #23799 ). ... rsible ( #22248 ) Avoided unnecessary rollbacks of migrations from other apps when migrating backwards ( #23410 ...
-
https://man.plustar.jp/django/releases/1.7.2.html
- [similar]
- Database migration operations — Django 4.0.6 ドキュメント 9292
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... stgres.operations module. Creating extension using migrations ¶ You can create a PostgreSQL extension in your da ... perations import HStoreExtension class Migration ( migrations . Migration ): ... operations = [ HStoreExtension ... 'll have to create the extension outside of Django migrations with a user that has them. In that case, connect t ... terpret hstore data for possible use in subsequent migrations. TrigramExtension ¶ class TrigramExtension ¶ Insta ...
-
https://man.plustar.jp/django/ref/contrib/postgres/operations.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 9292
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... lly running it, so you can customize it or use the migrations framework. dbshell ¶ django-admin dbshell ¶ Runs t ... post-synchronization handlers. The table of which migrations have been applied is not cleared. If you would rat ... her start from an empty database and re-run all migrations, you should drop and recreate the database and the ... コマンドをカスタマイズする を参照してください。 makemigrations ¶ django-admin makemigrations [app_label [app_labe ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- マイグレーション操作 — Django 4.0.6 ドキュメント 8621
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... n Operation objects into, use python manage.py makemigrations --empty yourappname , but be aware that manually a ... ration autodetector and make resulting runs of makemigrations output incorrect code. Django が提供するコア機能は ... 全て django.db.migrations.operations モジュールから利用できます。 より入門的 ... ) ¶ Alters the managers that are available during migrations. AddField ¶ class AddField ( model_name , name , f ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- Django 1.8.5 リリースノート — Django 4.0.6 ドキュメント 8146
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... nError in some complex queries ( #24525 ). Fixed a migrations crash with GenericForeignKey ( #25040 ). Made tran ... tized ordering of imports in from django.db import migrations, models statement in newly created migrations ( #2 ... 5384 ). Fixed migrations crash on MySQL when adding a text or a blob field ... .4 リリースノート 関連キーワード Fixed , queries , migrations , when , some , crash , up , next , COUNT , transl ...
-
https://man.plustar.jp/django/releases/1.8.5.html
- [similar]
- Django 1.8.1 リリースノート — Django 4.0.6 ドキュメント 7853
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... bugs in 1.8 and includes some optimizations in the migrations framework. Bugfixes ¶ Added support for serializin ... g timedelta objects in migrations ( #24566 ). Restored proper parsing of the testser ... anslations are deactivated ( #24569 ). Fixed squashmigrations command when using SeparateDatabaseAndState ( #242 ... ( #24573 ). Fixed a migration crash when applying migrations with model managers on Python 3 that were generate ...
-
https://man.plustar.jp/django/releases/1.8.1.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 7755
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... `COMMIT;``. Default value is ``False``. ``requires_migrations_checks`` A boolean; if ``True``, the command print ... s a warning if the set of migrations on disk don't match the migrations in the database ... to wrap the output in a "BEGIN; COMMIT;" requires_migrations_checks = False requires_system_checks = "__all__" ... self . requires_system_checks ) if self . requires_migrations_checks : self . check_migrations () output = self ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]