検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 13 for RunPython (0.017 sec.)
マイグレーション操作 — Django 4.0.6 ドキュメント 12686
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ffect the database, but persists these changes for RunPython instances to use. options should be a dictionary m ... 。これは特に処理を逆の順序で行いたい場合に有用です。 RunPython ¶ class RunPython ( code , reverse_code = None , a ... rsible. If reverse_code is None (the default), the RunPython operation is irreversible. オプションの hints 引数 ... ration class in the migration file, and pass it to RunPython . Here's an example of using RunPython to create s ...
https://man.plustar.jp/django/ref/migration-operations.html - [similar]
How to create database migrations — Django 4.0.6 ドキュメント 12580
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... can check the database connection's alias inside a RunPython operation by looking at the schema_editor.connecti ... to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You can also provide hints that wi ... to other migrations ] operations = [ migrations . RunPython ( forwards , hints = { 'target_db' : 'default' }), ... ] If your RunPython or RunSQL operation only affects one model, it's g ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 10135
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... action using atomic() or by passing atomic=True to RunPython . See 非アトミックのマイグレーション for more deta ... て、マネージャをマイグレーションにシリアライズして、 RunPython の中で使えるようにすることができます。それには次の ... ll make a new initial migration for your app. Now, run python manage.py migrate --fake-initial , and Django wil ... igration files. If you write Python code using the RunPython operation, or if you have allow_migrate methods on ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
Django 2.2.7 リリースノート — Django 4.0.6 ドキュメント 8516
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 0826 ). Prevented migrate --plan from showing that RunPython operations are irreversible when reverse_code call ...
https://man.plustar.jp/django/releases/2.2.7.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 8234
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... dle the deprecation of model fields was added. The RunPython.noop() and RunSQL.noop class method/attribute were ... added to ease in making RunPython and RunSQL operations reversible. The migration op ... erations RunPython and RunSQL now call the allow_migrate() method of ... ew signature the router will also be called by the RunPython and RunSQL operations. Features removed in 1.8 ¶ T ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
ロギング — Django 4.0.6 ドキュメント 7882
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... k . Note that it won't log the queries executed by RunPython . Messages to this logger have params and sql in t ...
https://man.plustar.jp/django/ref/logging.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 7882
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eate a migration for your application and define a RunPython or RunSQL operation in the operations section of t ... itial data in migrations if you need it (using the RunPython operation and your model classes); this has the ad ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
Djangoにおけるパスワード管理 — Django 4.0.6 ドキュメント 7777
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... #_migration_name' ), ] operations = [ migrations . RunPython ( forwards_func ), ] Be aware that this migration ...
https://man.plustar.jp/django/topics/auth/passwords.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 7777
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... he model being migrated. Its value is None for the RunPython and RunSQL operations unless they provide it using ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
索引 — Django 4.0.6 ドキュメント 7689
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .QuerySet モジュール) noop (RunSQL の属性) noop() (RunPython の静的メソッド) NoReverseMatch normalize() (GEOSGe ... のメソッド) run_tests() (DiscoverRunner のメソッド) RunPython (django.db.migrations.operations のクラス) runserv ...
https://man.plustar.jp/django/genindex.html - [similar]
PREV 1 2 NEXT