... 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 ... o 1.9.8 リリースノート 次のトピックへ Django 1.9.6 リリースノート 関連キーワード Fixed regression バグ 修正 template crash callbacks リリースノート Removed need request context processor admin login translation password validators help text forms causing ... ... 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 ... リリースノート 次のトピックへ Django 1.9.6 リリースノート 関連キーワード Fixed regression Django バグ 修正 template crash callbacks リリースノート いくつ Removed need request context processor admin login page fix translation 関連するページ Django 1.11.3 ... ... ms 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 ... ... ms 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 ... ... 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. ... ... 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. ... ... 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 ... ... .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" ... ... 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 ... ... .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" ... 2026年10月08日