検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for callbacks (0.029 sec.)
Django 1.9.7 リリースノート — Django 4.0.6 ドキュメント 12236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng lazy template names ( #26603 ). Fixed on_commit callbacks execution order when callbacks make transactions ( ... スノート 関連キーワード Fixed , regression , next , callbacks , Bugfixes , template , up , previous , トピック , ...
https://man.plustar.jp/django/releases/1.9.7.html - [similar]
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 11350
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... callback will be invoked immediately. When called, callbacks will be passed a single argument -- the rendered S ... esponse.rendered_content , runs all post-rendering callbacks, and returns the resulting response object. render ... >>> print ( t . content ) New content Post-render callbacks ¶ Some operations -- such as caching -- cannot be ... se cases), TemplateResponse allows you to register callbacks that will be invoked when rendering has completed. ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
テストツール — Django 4.0.6 ドキュメント 9398
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... test methods. classmethod TestCase. captureOnCommitCallbacks ( using = DEFAULT_DB_ALIAS , execute = False ) ¶ N ... text manager that captures transaction.on_commit() callbacks for the given database connection. It returns a li ... ons. From this list you can make assertions on the callbacks or call them to invoke their side effects, emulati ... is the alias of the database connection to capture callbacks for. If execute is True , all the callbacks will b ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
データベースのトランザクション — Django 4.0.6 ドキュメント 9218
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... f without on_commit() . Timing of execution ¶ Your callbacks are executed after a successful commit, so a failu ... it Extensions in the Python DB-API specification . Callbacks are not run until autocommit is restored on the co ... is ever actually committed, thus your on_commit() callbacks will never be run. You can overcome this limitatio ... n by using TestCase.captureOnCommitCallbacks() . This captures your on_commit() callbacks in a ...
https://man.plustar.jp/django/topics/db/transactions.html - [similar]
Django 4.0.2 release notes — Django 4.0.6 ドキュメント 8169
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... a bug in Django 4.0 where TestCase.captureOnCommitCallbacks() could execute callbacks multiple times ( #33410 ...
https://man.plustar.jp/django/releases/4.0.2.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 7808
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s for each processor core. TestCase.captureOnCommitCallbacks() now captures new callbacks added while executing ... transaction.on_commit() callbacks. Backwards incompatible changes in 4.0 ¶ データベー ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 7103
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... and 308 redirects. The new TestCase.captureOnCommitCallbacks() method captures callback functions passed to tra ... n_commit() in a list. This allows you to test such callbacks without using the slower TransactionTestCase . Tra ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
The syndication feed framework — Django 4.0.6 ドキュメント 6922
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s ( Atom1Feed or Rss201rev2Feed ) and extend these callbacks. They are: SyndicationFeed.root_attributes(self) R ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
PREV 1 NEXT