per page, with , order by , clip by
Results of 1 - 10 of about 46 for makemigrations (0.005 sec.)
マイグレーション 13257
マイグレーション マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに反映させる方法です。大抵のマイグレーションは自動で行われるものの、いつマイグレーションが作られ ... く使うコマンドを、いくつか挙げておきましょう。 migrate は、マイグレーションを適用したり、適用をキャンセルするのに使います。 makemigrations は、モデルに対して行った変更をもとに、新しいマイグレーションを作成します。 sqlmigrate は、マイグレーションに対応する SQL 文 ... ステータスをリストします。 マイグレーションというのは、データベーススキーマに対するバージョン管理システムのようなものです。 makemigrations はモデルの変更点を1つのマイグレーションファイルにパッケージングし(コミットのようなものです)、 migrate はその変更点をデータ ... あなたに代わってマイグレーションを作成します。たとえば、フィールドを追加してモデルを削除するなど、モデルに変更を加えてから、 makemigrations を実行してください。 $ python manage.py makemigrations Migrations for 'books' : books/migrations/0003_auto.py: ~ Alter fie ...
https://man.mtool.work/django/6.1/topics/migrations.html
マイグレーション・オペレーション 10663
マイグレーション・オペレーション マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーションを宣言的に保持するオブジェクト、から構成されます。 Django はこれらの Operation オブジェクトも ... する事もできます。 もし独自の Operation オブジェクトを定義する空のマイグレーションファイルが必要であれば、 python manage.py makemigrations --empty yourappname を実行してください。ただし、手動でのスキーマ変更オペレーションの追加はマイグレーションの自動検出機構を ... 混乱させ、 makemigrations が正しい結果を出力しなくなる可能性があることに十分注意してください。 Django が提供するコア機能は全て django.db.migrations. ... す可能性があります。これを避けるには、以下の手順を実行する必要があります。 デフォルト値なしで nullable フィールドを追加し、 makemigrations コマンドを実行します。これで AddField オペレーションを持つマイグレーションが生成されるはずです。 デフォルト値をフィールドに ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
Django 4.0.2 リリースノート 10191
Django 4.0.2 リリースノート 2022年2月1日 Django 4.0.2 では、 4.0.1 における深刻度 "medium" のセキュリティの問題2件と、いくつかのバグを修正しました。また、 Transifex からの最新の文字列翻訳が反映され、ブルガリア語の翻訳が完了しました。 CVE-20 ... incorrect repr of ResolverMatch for class-based views ( #33426 ). Fixed a regression in Django 4.0 that caused a crash of makemigrations on models without Meta.order_with_respect_to but with a field named _order ( #33449 ). Fixed a regression in Django 4.0 th ... ter annotate() on an aggregate function with a default ( #33468 ). Fixed a regression in Django 4.0 that caused a crash of makemigrations when renaming a field of a renamed model ( #33480 ). ...
https://man.mtool.work/django/6.1/releases/4.0.2.html
索引 9946
索引 記号 | _ | 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 コマン ... igrate コマンドラインオプション --blank ogrinspect コマンドラインオプション --buffer test コマンドラインオプション --check makemigrations コマンドラインオプション migrate コマンドラインオプション optimizemigration コマンドラインオプション --clear collectstatic ... ssages コマンドラインオプション --dry-run collectstatic コマンドラインオプション createcachetable コマンドラインオプション makemigrations コマンドラインオプション --durations test コマンドラインオプション --email createsuperuser コマンドラインオプション --empt ... y makemigrations コマンドラインオプション --exclude compilemessages コマンドラインオプション dumpdata コマンドラインオプション loaddata コマ ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.10.1 リリースノート 9946
Django 1.10.1 リリースノート September 1, 2016 Django 1.10.1 fixes several bugs in 1.10. バグ修正 Fixed a crash in MySQL connections where SELECT @@SQL_AUTO_IS_NULL doesn't return a result ( #26991 ). Allowed User.is_authenticated and User. ... ions when combined with lookups on PostGIS ( #27014 ). Reallowed the {% for %} tag to unpack any iterable ( #27058 ). Made makemigrations skip inconsistent history checks on non-default databases if database routers aren't in use or if no apps can be migrated ... ble to be generalized like that ( #26998 ). Added the database alias to the InconsistentMigrationHistory message raised by makemigrations and migrate ( #27089 ). Fixed the creation of ContentType and Permission objects for models of applications without migrat ...
https://man.mtool.work/django/6.1/releases/1.10.1.html
Django 1.7.1 リリースノート 9001
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 ... ausing IntegrityError ( #23611 ). Made urlsafe_base64_decode() return the proper type (bytestring) on Python 3 ( #23333 ). makemigrations can now serialize timezone-aware values ( #23365 ). Added a prompt to the migrations questioner when removing the null con ... Oracle test database creation drop the test user in the event of an unclean exit of a previous test run ( #23649 ). Fixed makemigrations to detect changes to Meta.db_table ( #23629 ). Fixed a regression when feeding the Django test client with an empty data s ...
https://man.mtool.work/django/6.1/releases/1.7.1.html
Django 4.0.3 リリースノート 9001
Django 4.0.3 リリースノート 2022年3月1日 Django 4.0.3 では、 4.0.2 におけるいくつかのバグを修正しました。また、Django のすべての Python コードが black で再度フォーマットされます。 バグ修正 Prevented, following a regression in Django 4.0.1, ...
https://man.mtool.work/django/6.1/releases/4.0.3.html
Django 1.9.6 リリースノート 8772
Django 1.9.6 リリースノート May 2, 2016 Django 1.9.6 では、1.9.5 にあったいくつかのバグを修正しました。 バグ修正 Added support for relative path redirects to the test client and to SimpleTestCase.assertRedirects() because Django 1.9 no long ... directs to absolute URIs ( #26428 ). Fixed TimeField microseconds round-tripping on MySQL and SQLite ( #26498 ). Prevented makemigrations from generating infinite migrations for a model field that references a functools.partial ( #26475 ). Fixed a regression w ...
https://man.mtool.work/django/6.1/releases/1.9.6.html
Django 3.2.2 リリースノート 8772
Django 3.2.2 リリースノート May 6, 2021 Django 3.2.2 fixes a security issue and a bug in 3.2.1. CVE-2021-32052: Header injection possibility since URLValidator accepted newlines in input on Python 3.9.5+ On Python 3.9.5+, URLValidator didn' ... e form fields. This issue was introduced by the bpo-43882 fix. バグ修正 Prevented, following a regression in Django 3.2.1, makemigrations from generating infinite migrations for a model with Meta.ordering contained OrderBy expressions ( #32714 ). ...
https://man.mtool.work/django/6.1/releases/3.2.2.html
Django 4.1 リリースノート 8772
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... 際化 (internationalization) The i18n_patterns() function now supports languages with both scripts and regions. 管理コマンド makemigrations --no-input now logs default answers and reasons why migrations cannot be created. The new makemigrations --scriptable opti ... xistent migrations from the django_migrations table. Python files created by startproject , startapp , optimizemigration , makemigrations , and squashmigrations are now formatted using the black command if it is present on your PATH . The new optimizemigration ... aint.expressions . To use it, you need to add 'django.contrib.postgres' in your INSTALLED_APPS . After making this change, makemigrations will generate a new migration with two operations: RemoveConstraint and AddConstraint . Since this change has no effect on ...
https://man.mtool.work/django/6.1/releases/4.1.html
PREV 1 2 3 4 5 NEXT