検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 69 for migrate (0.018 sec.)
複数のデータベース — Django 4.0.6 ドキュメント 12825
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xist exception. Synchronizing your databases ¶ The migrate management command operates on one database at a t ... ample above, you would need to call: $ ./manage.py migrate $ ./manage.py migrate --database=users If you don' ... you must provide a database name each time you run migrate . Omitting the database name would raise an error. ... For the second example: $ ./manage.py migrate --database=users $ ./manage.py migrate --database= ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
Signals — Django 4.0.6 ドキュメント 11750
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ement signals ¶ Signals sent by django-admin . pre_migrate ¶ django.db.models.signals. pre_migrate ¶ Sent by ... the migrate command before it starts to install an application ... AppConfig instance for the application about to be migrated/synced. app_config sender と同じ。 verbosity Indi ... y flag for details. Functions which listen for pre_migrate should adjust what they output to the screen based ...
https://man.plustar.jp/django/ref/signals.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 10916
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 時によく使うコマンドを、いくつか挙げておきましょう。 migrate は、マイグレーションを適用したり、適用をキャンセル ... 更をもとに、新しいマイグレーションを作成します。 sqlmigrate は、マイグレーションに対応する SQL 文を表示します。 ... ァイルにパッケージングし(コミットのようなものです)、 migrate はその変更点をデータベースに適用する、というわけで ... ように、データベースに適用します $ python manage.py migrate Operations to perform: Apply all migrations: books ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
Django 1.10.1 release notes — Django 4.0.6 ドキュメント 10562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ed with primary_key=True ( #26983 ). Prevented the migrate command from raising InconsistentMigrationHistory ... atabase routers aren't in use or if no apps can be migrated to the database ( #27054 , #27110 , #27142 ). Rem ... rationHistory message raised by makemigrations and migrate ( #27089 ). Fixed the creation of ContentType and ... f applications without migrations when calling the migrate command with no migrations to apply ( #27044 ). In ...
https://man.plustar.jp/django/releases/1.10.1.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 9488
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... es are: syncdb has been deprecated and replaced by migrate . Don't worry - calls to syncdb will still work as ... syncdb have been deprecated, to be replaced by pre_migrate and post_migrate respectively. These new signals h ... cdb method on database routers is now called allow_migrate , but still performs the same function. Routers wi ... nguage is still read from in 1.7. Sessions will be migrated to the new key as they are written. The blocktran ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
django.db.utils — Django 4.0.6 ドキュメント 9375
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... [ ( "CHARSET" , None ), ( "COLLATION" , None ), ( "MIGRATE" , True ), ( "MIRROR" , None ), ( "NAME" , None ), ... obj1 . _state . db == obj2 . _state . db def allow_migrate ( self , db , app_label , ** hints ): for router i ... n self . routers : try : method = router . allow_migrate except AttributeError : # If the router doesn't ha ... w is not None : return allow return True def allow_migrate_model ( self , db , model ): return self . allow_m ...
https://man.plustar.jp/django/_modules/django/db/utils.html - [similar]
django-admin と manage.py — Django 4.0.6 ドキュメント 9247
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... should drop and recreate the database and then run migrate instead. --noinput , --no-input ¶ Suppresses all u ... eck for a consistent migration history is skipped. migrate ¶ django-admin migrate [app_label] [migration_name ... volve unapplying migrations if you have previously migrated past the named migration. You can use a prefix of ... nique for the given app name. Use the name zero to migrate all the way back i.e. to revert all applied migrat ...
https://man.plustar.jp/django/ref/django-admin.html - [similar]
はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 9007
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... のコマンドを実行してください:   $ python manage.py migrate ...\> py manage.py migrate The migrate command loo ... りません。もしその中のどれかかすべてが必要ない場合、 migrate を実行する前に INSTALLED_APPS から適切な行をコメン ... トアウトしたり削除しても構いません。 migrate コマンドは INSTALLED_APPS のアプリのためだけに実行 ... ススキーマを管理するためのコマンドがあります。これは migrate と呼ばれるコマンドで、この後すぐに見ていきます。し ...
https://man.plustar.jp/django/intro/tutorial02.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 9007
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... itialization commands are now automatically run by migrate . The GDAL interface now supports retrieving prope ... not defined. The default Site created when running migrate now respects the SITE_ID setting (instead of alway ... operations RunPython and RunSQL now call the allow_migrate() method of database routers. The router can use t ... ure you need to update the router to the new allow_migrate signature, see the deprecation section for more de ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 8300
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... より、すべてのテーブルが空になります。そして、 post_migrate シグナルが送信されることにより、各モデルごとに、1つ ... or of TransactionTestCase changes as follows: post_migrate is fired before each test to create the content ty ... lated models in unavailable apps. Furthermore post_migrate isn't fired; it will be fired by the next Transact ... ion engine stores them in the database. Since post_migrate isn't emitted after flushing the database, its sta ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT