per page, with , order by , clip by
Results of 1 - 5 of about 5 for callbacks (0.003 sec.)
Django 1.9.7 リリースノート 12703
Django 1.9.7 リリースノート 2016年6月4日 Django 1.9.7 では、1.9.6 にあったいくつかのバグを修正しました。 バグ修正 Removed the need for the request context processor on the admin login page to fix a regression in 1.9 ( #26558 ). Fixed transl ... Fixed a regression causing the cached template loader to crash when using lazy template names ( #26603 ). Fixed on_commit callbacks execution order when callbacks make transactions ( #26627 ). Fixed HStoreField to raise a ValidationError instead of crash ...
https://man.mtool.work/django/6.1/releases/1.9.7.html
Django 4.0.2 リリースノート 9137
Django 4.0.2 リリースノート 2022年2月1日 Django 4.0.2 では、 4.0.1 における深刻度 "medium" のセキュリティの問題2件と、いくつかのバグを修正しました。また、 Transifex からの最新の文字列翻訳が反映され、ブルガリア語の翻訳が完了しました。 CVE-20 ... orms could result in an infinite loop when parsing files. バグ修正 Fixed a bug in Django 4.0 where TestCase.captureOnCommitCallbacks() could execute callbacks multiple times ( #33410 ). Fixed a regression in Django 4.0 where help_text was HTML-escaped in ...
https://man.mtool.work/django/6.1/releases/4.0.2.html
Django 4.0 リリースノート 8548
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... est --parallel option now supports the value auto to run one test process for each processor core. TestCase.captureOnCommitCallbacks() now captures new callbacks added while executing transaction.on_commit() callbacks. Backwards incompatible changes in 4. ...
https://man.mtool.work/django/6.1/releases/4.0.html
Django 3.2 リリースノート 7758
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ption. Client now preserves the request query string when following 307 and 308 redirects. The new TestCase.captureOnCommitCallbacks() method captures callback functions passed to transaction.on_commit() in a list. This allows you to test such callbacks w ...
https://man.mtool.work/django/6.1/releases/3.2.html
テストツール 7758
テストツール Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecosystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. T ... .deepcopy() in order to isolate them from alterations performed by each test methods. classmethod TestCase. captureOnCommitCallbacks ( using = DEFAULT_DB_ALIAS , execute = False ) [ソース] 指定されたデータベースコネクションに対する transaction.on_commit() ... mail from django.test import TestCase class ContactTests ( TestCase ): def test_post ( self ): with self . captureOnCommitCallbacks ( execute = True ) as callbacks : response = self . client . post ( "/contact/" , { "message" : "I like your site" }, ) se ... lf . assertEqual ( response . status_code , 200 ) self . assertEqual ( len ( callbacks ), 1 ) self . assertEqual ( len ( mail . outbox ), 1 ) self . assertEqual ( mail . outbox [ 0 ] . subject , "Contact Form" ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
PREV 1 NEXT