検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for router (0.017 sec.)
複数のデータベース — Django 4.0.6 ドキュメント 12561
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... not be used. To do this, you must set up DATABASE_ROUTERS for all of your apps' models, including those in ... o a particular database, you can define a database router that implements a policy constraining the availabi ... ase, but it consults the allow_migrate() method of routers if any are installed. Automatic database routing ... iors, you can define and install your own database routers. Database routers ¶ A database Router is a class ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
django.db.utils — Django 4.0.6 ドキュメント 11694
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... r : continue connection . close () class ConnectionRouter : def __init__ ( self , routers = None ): """ If r ... ers is not specified, default to settings.DATABASE_ROUTERS. """ self . _routers = routers @cached_property d ... ef routers ( self ): if self . _routers is None : self . _ro ... uters = settings . DATABASE_ROUTERS routers = [] for r in self . _routers : if isinst ...
https://man.plustar.jp/django/_modules/django/db/utils.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 8368
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... QL now call the allow_migrate() method of database routers. The router can use the newly introduced app_labe ... e advantage of this feature you need to update the router to the new allow_migrate signature, see the deprec ... ide_settings() decorator can now affect the master router in DATABASE_ROUTERS . Added test client support fo ... Line , and Union ). Signature of the allow_migrate router method ¶ The signature of the allow_migrate() meth ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
Signals — Django 4.0.6 ドキュメント 8061
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o the relation) using "default" (since the default router sends writes here) And if we would then do somethi ... m the relation) using "default" (since the default router sends writes here) class_prepared ¶ django.db.mode ...
https://man.plustar.jp/django/ref/signals.html - [similar]
How to create database migrations — Django 4.0.6 ドキュメント 7916
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e passed to the allow_migrate() method of database routers as **hints : myapp/dbrouters.py ¶ class MyRouter ... hint to make it as transparent as possible to the router. This is especially important for reusable and thi ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
Django 2.1 リリースノート — Django 4.0.6 ドキュメント 7916
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... iterator() if you don't want caching. The database router allow_relation() method is called in more cases. I ... mproperly written routers may need to be updated accordingly. Translations ...
https://man.plustar.jp/django/releases/2.1.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 7916
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d for routing purposes. For example, the following router would direct all cache read operations to cache_re ... ly be synchronized onto cache_primary : class CacheRouter : """A router to control all database cache operat ...
https://man.plustar.jp/django/topics/cache.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 7808
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n 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 th ... value of None passed to db_manager will produce a router that retains any manually assigned database routin ... now respect the allow_migrate() method of DATABASE_ROUTERS . If you have models synced to non-default databa ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
PREV 1 NEXT