per page, with , order by , clip by
Results of 1 - 10 of about 16 for forwards (0.003 sec.)
マイグレーション・オペレーション — Django 6.1 ドキュメント 12251
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション・オペレーション ¶ マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーション ... す。以下に RunPython を用いて Country モデル上の初期オブジェクトを追加する例を示します: from django.db import migrations def forwards_func ( apps , schema_editor ): # We get the model from the versioned app registry; # if we directly import it, it'll be th ... name = "USA" , code = "us" ), Country ( name = "France" , code = "fr" ), ] ) def reverse_func ( apps , schema_editor ): # forwards_func() creates two Country instances, # so reverse_func() should delete them. Country = apps . get_model ( "myapp" , "Coun ... = "fr" ) . delete () class Migration ( migrations . Migration ): dependencies = [] operations = [ migrations . RunPython ( forwards_func , reverse_func ), ] これは データのマイグレーション の作成、独自のデータ更新と構成変更、そして ORM や Python のコード ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
マイグレーション・オペレーション — Django 6.1 ドキュメント 12251
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション・オペレーション ¶ マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーション ... す。以下に RunPython を用いて Country モデル上の初期オブジェクトを追加する例を示します: from django.db import migrations def forwards_func ( apps , schema_editor ): # We get the model from the versioned app registry; # if we directly import it, it'll be th ... name = "USA" , code = "us" ), Country ( name = "France" , code = "fr" ), ] ) def reverse_func ( apps , schema_editor ): # forwards_func() creates two Country instances, # so reverse_func() should delete them. Country = apps . get_model ( "myapp" , "Coun ... = "fr" ) . delete () class Migration ( migrations . Migration ): dependencies = [] operations = [ migrations . RunPython ( forwards_func , reverse_func ), ] これは データのマイグレーション の作成、独自のデータ更新と構成変更、そして ORM や Python のコード ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 10709
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... schema_editor.connection.alias 属性を見て、データベース接続のエイリアスを確認します: from django.db import migrations def forwards ( apps , schema_editor ): if schema_editor . connection . alias != "default" : return # Your migration code goes here clas ... ( migrations . Migration ): dependencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You can also provide hints that will be passed to the allow_migrate() method of database routers as **hints : myapp/d ... s [ "target_db" ] return True これをマイグレーションに利用するには、次のようにします: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... class Migration ( migrations . Migration ): dependencies = [ ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 10033
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... schema_editor.connection.alias 属性を見て、データベース接続のエイリアスを確認します: from django.db import migrations def forwards ( apps , schema_editor ): if schema_editor . connection . alias != "default" : return # Your migration code goes here clas ... ( migrations . Migration ): dependencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You can also provide hints that will be passed to the allow_migrate() method of database routers as **hints : myapp/d ... s [ "target_db" ] return True これをマイグレーションに利用するには、次のようにします: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... class Migration ( migrations . Migration ): dependencies = [ ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
Django 1.0 リリースノート — Django 6.1 ドキュメント 8854
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.0 リリースノート ¶ Django 1.0 へようこそ! We've been looking forward to this moment for over three years, and it's finally here. Django 1.0 ... 貢献を上回ったその瞬間に 1.0 をリリースできたのは、まさにオープンソースとしてふさわしい出来事だと思われます。 Stability and forwards-compatibility ¶ The release of Django 1.0 comes with a promise of API stability and forwards-compatibility. In a nutshell, ... d database : MySQL に関するノート SQLite に関するノート Oracle に関するノート 目次 Django 1.0 リリースノート Stability and forwards-compatibility 後方互換性のない変更 Django 1.0 の新機能 Refactored admin application Improved Unicode handling 改善された O ...
https://man.mtool.work/django/6.1/releases/1.0.html
Django 1.0 リリースノート — Django 6.1 ドキュメント 8854
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.0 リリースノート ¶ Django 1.0 へようこそ! We've been looking forward to this moment for over three years, and it's finally here. Django 1.0 ... 貢献を上回ったその瞬間に 1.0 をリリースできたのは、まさにオープンソースとしてふさわしい出来事だと思われます。 Stability and forwards-compatibility ¶ The release of Django 1.0 comes with a promise of API stability and forwards-compatibility. In a nutshell, ... d database : MySQL に関するノート SQLite に関するノート Oracle に関するノート 目次 Django 1.0 リリースノート Stability and forwards-compatibility 後方互換性のない変更 Django 1.0 の新機能 Refactored admin application Improved Unicode handling 改善された O ...
https://man.mtool.work/django/6.1/releases/1.0.html
Django 1.11.22 リリースノート — Django 6.1 ドキュメント 8161
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.22 リリースノート ¶ July 1, 2019 Django 1.11.22 fixes a security issue in 1.11.21. CVE-2019-12781: Incorrect HTTP detection with reverse ... propriate header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths ...
https://man.mtool.work/django/6.1/releases/1.11.22.html
Django 2.1.10 リリースノート — Django 6.1 ドキュメント 8161
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.1.10 リリースノート ¶ July 1, 2019 Django 2.1.10 fixes a security issue in 2.1.9. CVE-2019-12781: Incorrect HTTP detection with reverse-pro ... propriate header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths ...
https://man.mtool.work/django/6.1/releases/2.1.10.html
Django 1.11.22 リリースノート — Django 6.1 ドキュメント 7988
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.22 リリースノート ¶ July 1, 2019 Django 1.11.22 fixes a security issue in 1.11.21. CVE-2019-12781: Incorrect HTTP detection with reverse ... propriate header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths ...
https://man.mtool.work/django/6.1/releases/1.11.22.html
Django 2.1.10 リリースノート — Django 6.1 ドキュメント 7988
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.1.10 リリースノート ¶ July 1, 2019 Django 2.1.10 fixes a security issue in 2.1.9. CVE-2019-12781: Incorrect HTTP detection with reverse-pro ... propriate header is set on the request, for both HTTP and HTTPS requests. If you deploy Django behind a reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths ...
https://man.mtool.work/django/6.1/releases/2.1.10.html
PREV 1 2 NEXT