... underlying HTMLParser , django.utils.html.strip_tags() would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filt ... ri_to_iri() could lead to significant memory usage due to excessive recursion when re-percent-encoding invalid UTF-8 octet sequences. uri_to_iri() now avoids recursion when re-percent-encoding invalid UTF-8 octet sequences. ... ... underlying HTMLParser , django.utils.html.strip_tags() would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filt ... ri_to_iri() could lead to significant memory usage due to excessive recursion when re-percent-encoding invalid UTF-8 octet sequences. uri_to_iri() now avoids recursion when re-percent-encoding invalid UTF-8 octet sequences. ... ... underlying HTMLParser , django.utils.html.strip_tags() would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filt ... ri_to_iri() could lead to significant memory usage due to excessive recursion when re-percent-encoding invalid UTF-8 octet sequences. uri_to_iri() now avoids recursion when re-percent-encoding invalid UTF-8 octet sequences. バグ修正 Fixed a regression in ... ... sing extra arguments to the command-line client for the database. The flush and sqlflush commands now include SQL to reset sequences on SQLite. モデル The new ExtractIsoWeekDay function extracts ISO-8601 week days from DateField and DateTimeField , and th ... erates more efficient SQL on MySQL by using DELETE instead of TRUNCATE statements for tables which don't require resetting sequences. SQLite functions are now marked as deterministic on Python 3.8+. This allows using them in check constraints and partial ... teardown is now faster on MySQL due to flush command improvements. As a side effect the latter doesn't automatically reset sequences on teardown anymore. Enable TransactionTestCase.reset_sequences if your tests require this feature. URL Path converters ca ... ... isolated from each other, TransactionTestCase will now reset the database after each test run instead. No more implicit DB sequences reset TransactionTestCase tests used to reset primary key sequences automatically together with the database flushing acti ... ons described above. This has been changed so no sequences are implicitly reset. This can cause TransactionTestCase tests that depend on hardcoded primary key values to break. The n ... ew reset_sequences attribute can be used to force the old behavior for TransactionTestCase that might need it. Ordering of tests In order to ... ... emely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filt ... ... mely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filt ... ... tags() would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filt ... ... ない場合、これは問題ではありません。 available_apps は Django 自身のテストスイートでは必須です。 TransactionTestCase. reset_sequences TransactionTestCase で reset_sequences = True を設定すると、テスト実行前にシーケンスが常にリセットされます: class TestsTha ... tDependsOnPrimaryKeySequences ( TransactionTestCase ): reset_sequences = True def test_animal_pk ( self ): lion = Animal . objects . create ( name = "li ... ded that you do not hardcode primary key values in tests. 主キーのリセットは比較的高コストなデータベース操作なので、 reset_sequences = True を使用するとテストが遅くなります。 テストクラスを強制的に逐次実行する 並列に実行できないテストクラスがある場合 (共通 ... ... yField and its widgets logged invalid submitted values directly, allowing control characters (e.g. newlines or ANSI escape sequences) to be written unescaped into logs. This could enable log injection or forgery, letting attackers manipulate log appearanc ... 2026年10月08日