per page, with , order by , clip by
Results of 1 - 10 of about 14 for routers (0.004 sec.)
データベースのマイグレーション・オペレーション 14459
データベースのマイグレーション・オペレーション これらの マイグレーションオペレーション は全て django.contrib.postgres.operations モジュールから利用できます。 マイグレーションを使って拡張機能を作成する マイグレーションファイルを使用して、デー ... 。 hints New in Django 6.0. The optional hints argument will be passed as **hints to the allow_migrate() method of database routers to assist them in making routing decisions . BloomExtension class BloomExtension ( hints = None ) [ソース] bloom 拡張機能を ... 。 hints New in Django 6.0. The optional hints argument will be passed as **hints to the allow_migrate() method of database routers to assist them in making routing decisions . BtreeGinExtension class BtreeGinExtension ( hints = None ) [ソース] btree_gin ... 。 hints New in Django 6.0. The optional hints argument will be passed as **hints to the allow_migrate() method of database routers to assist them in making routing decisions . BtreeGistExtension class BtreeGistExtension ( hints = None ) [ソース] btree_g ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/operations.html
複数のデータベース 9995
複数のデータベース ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデータベース扱うことを前提としています。複数のデータベースを使いたいなら、いくつかの追加ステップを ... ショナリを空白のままにできます。これを行うには、使用している contrib とサードパーティを含むすべてのアプリのモデルで DATABASE_ROUTERS をセットアップしなければなりません。以下は、 default エントリーを意図的に空のままにして、2つの default ではないデータベース ... ションファイル自体の編集によって起こるものを含む) を検出します。デフォルトでは default データベースのみをチェックしますが、 routers がインストールされている場合には allow_migrate() メソッドを参照します。 自動的なデータベースのルーティング 複数のデータベー ... g behavior. If an instance hint is present, the database from which it was fetched is recorded on its instance._state.db . Routers will need to first consult that attribute before falling back to any fixed alias to match Django's default behavior of fet ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
Django 2.2.5 リリースノート 9662
Django 2.2.5 リリースノート September 2, 2019 Django 2.2.5 fixes several bugs in 2.2.4. バグ修正 Relaxed the system check added in Django 2.2 for models to reallow use of the same db_table by multiple models when database routers are instal ...
https://man.mtool.work/django/6.1/releases/2.2.5.html
Django 1.8.7 リリースノート 8875
Django 1.8.7 リリースノート November 24, 2015 Django 1.8.7 fixes a security issue and several bugs in 1.8.6. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.10.0). Fixed settings ... during the autumn DST change when USE_TZ is False and pytz is installed. Fixed a regression in 1.8.6 that caused database routers without an allow_migrate() method to crash ( #25686 ). Fixed a regression in 1.8.6 by restoring the ability to use Manager ...
https://man.mtool.work/django/6.1/releases/1.8.7.html
Django 1.10.1 リリースノート 8717
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. ... 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 to the database ( #27054 , #27110 , #27142 ). Removed duplicated managers in M ...
https://man.mtool.work/django/6.1/releases/1.10.1.html
Django 1.5 リリースノート 8227
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.4 or older versions. We'v ... ence of the cleaned_data attribute on the form. Behavior of syncdb with multiple databases syncdb now queries the database routers to determine if content types (when contenttypes is enabled) and permissions (when auth is enabled) should be created in t ... er database was specified with the --database option. If you use syncdb on multiple databases, you should ensure that your routers allow synchronizing content types and permissions to only one of them. See the docs on the behavior of contrib apps with m ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 1.7 リリースノート 8227
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... se new signals have slightly different arguments. Check the documentation for details. The allow_syncdb method on database routers is now called allow_migrate , but still performs the same function. Routers with allow_syncdb methods will still work, but ... es set-and-expire in the settings as well. The sql* management commands now respect the allow_migrate() method of DATABASE_ROUTERS . If you have models synced to non-default databases, use the --database flag to get SQL for those models (previously they ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.8 リリースノート 8227
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... unSQL operations reversible. The migration operations RunPython and RunSQL now call the allow_migrate() method of database routers. The router can use the newly introduced app_label and hints arguments to make a routing decision. To take advantage of th ... DATAFILE_MAXSIZE and DATAFILE_TMP_MAXSIZE . The override_settings() decorator can now affect the master router in DATABASE_ROUTERS . Added test client support for file uploads with file-like objects. A shared cache is now used when testing with an SQLit ... keLine , and Union ). Signature of the allow_migrate router method The signature of the allow_migrate() method of database routers has changed from allow_migrate(db, model) to allow_migrate(db, app_label, model_name=None, **hints) . When model_name is s ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 2.1 リリースノート 7912
Django 2.1 リリースノート 2018年8月1日 Django 2.1 へようこそ! このリリースノートでは、 バージョン 2.1 の新機能 と、Django 2.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能を ... rator() if you don't want caching. The database router allow_relation() method is called in more cases. Improperly written routers may need to be updated accordingly. Translations are no longer deactivated before running management commands. If your cus ...
https://man.mtool.work/django/6.1/releases/2.1.html
データベースのマイグレーションの作成方法 7754
データベースのマイグレーションの作成方法 このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成方法と書き方について説明します。マイグレーションに関する入門的な資料を探しているなら、 トピッ ... tions . RunPython ( forwards ), ] You can also provide hints that will be passed to the allow_migrate() method of database routers as **hints : myapp/dbrouters.py class MyRouter : def allow_migrate ( self , db , app_label , model_name = None , ** hints ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
PREV 1 2 NEXT