... ikely to happen with SQLite, since it didn't support savepoints until this release. If tests using assertNumQueries() fail because of a higher number of queries than expected, check that the extra queries are related to savepoints, and adjust the expect ... times() ¶ When the time zone support added in Django 1.4 was active, QuerySet.dates() lookups returned unexpected results, because the aggregation was performed in UTC. To fix this, Django 1.6 introduces a new API, QuerySet.datetimes() . This requires a ... Code that relies on the default value being False may raise an exception when saving new model instances to the database, because None isn't an acceptable value for a BooleanField . You should either specify default=False in the field definition, or en ... ... ikely to happen with SQLite, since it didn't support savepoints until this release. If tests using assertNumQueries() fail because of a higher number of queries than expected, check that the extra queries are related to savepoints, and adjust the expect ... times() ¶ When the time zone support added in Django 1.4 was active, QuerySet.dates() lookups returned unexpected results, because the aggregation was performed in UTC. To fix this, Django 1.6 introduces a new API, QuerySet.datetimes() . This requires a ... Code that relies on the default value being False may raise an exception when saving new model instances to the database, because None isn't an acceptable value for a BooleanField . You should either specify default=False in the field definition, or en ... ... redirects to the test client and to SimpleTestCase.assertRedirects() because Django 1.9 no longer converts redirects to absolute URIs ( #26428 ). Fixed TimeField microseconds round-tripping on MySQL ... 修正 redirects MySQL SQLite values template リリースノート Added support relative path client SimpleTestCase assertRedirects because longer converts absolute URIs TimeField microseconds round クイック検索 Last update: 2026年10月09日 « previous | up | next ... ... zed for your site. Django 1.5 is also the first release with Python 3 support ! We're labeling this support "experimental" because we don't yet consider it production-ready, but everything's in place for you to start porting your apps to Python 3. Our n ... l continue to receive security support until the release of Django 1.6. Django 1.5 does not run on a Jython final release, because Jython's latest release doesn't currently support Python 2.6. However, Jython currently does offer an alpha release featur ... t to eliminate bugs, but we can't be sure we covered all possible uses of Django. Some features of Django aren't available because they depend on third-party software that hasn't been ported to Python 3 yet, including: the MySQL database backend (depend ... ... zed for your site. Django 1.5 is also the first release with Python 3 support ! We're labeling this support "experimental" because we don't yet consider it production-ready, but everything's in place for you to start porting your apps to Python 3. Our n ... l continue to receive security support until the release of Django 1.6. Django 1.5 does not run on a Jython final release, because Jython's latest release doesn't currently support Python 2.6. However, Jython currently does offer an alpha release featur ... t to eliminate bugs, but we can't be sure we covered all possible uses of Django. Some features of Django aren't available because they depend on third-party software that hasn't been ported to Python 3 yet, including: the MySQL database backend (depend ... ... If you have developed your own custom template loaders we suggest to consider porting them to a class-based implementation because the code for backwards compatibility with function-based loaders starts its deprecation process in Django 1.2 and will be ... dd ... Django 1.2 以降のスレッドセーフなレンダラーを使用すると、以下のように出力されます。 even even even even ... This is because each rendering of the include tag is an independent rendering. When the cycle tag was not thread safe, the state of the cy ... code of the test runners ( tests/runtests.py and python manage.py test ) no longer represents the number of failed tests, because a failure of 256 or more tests resulted in a wrong exit status code. The exit status code for the test runner is now 0 for ... ... If you have developed your own custom template loaders we suggest to consider porting them to a class-based implementation because the code for backwards compatibility with function-based loaders starts its deprecation process in Django 1.2 and will be ... dd ... Django 1.2 以降のスレッドセーフなレンダラーを使用すると、以下のように出力されます。 even even even even ... This is because each rendering of the include tag is an independent rendering. When the cycle tag was not thread safe, the state of the cy ... code of the test runners ( tests/runtests.py and python manage.py test ) no longer represents the number of failed tests, because a failure of 256 or more tests resulted in a wrong exit status code. The exit status code for the test runner is now 0 for ... ... world. Storing datetimes in UTC for database portability and interoperability. (This argument doesn't apply to PostgreSQL, because it already stores timestamps with time zone information in Django 1.3.) Avoiding data corruption problems around DST trans ... eption for aware time objects. It includes milliseconds for datetime and time objects. There is still some precision loss, because Python stores microseconds (6 digits) and JSON only supports milliseconds (3 digits). However, it's better than discarding ... This is wrong for URLs whose unquoted form contains a %xx sequence, but such URLs are very unlikely to happen in the wild, because they would confuse browsers too. assertTemplateUsed and assertTemplateNotUsed as context manager ¶ It's now possible to ch ... ... t like on other backends that support deferrable constraints. These checks aren't implemented for older versions of SQLite because they would require expensive table introspection there. DiscoverRunner now skips the setup of databases not referenced by ... age mistakes, the test Client and django.utils.http.urlencode() now raise TypeError if None is passed as a value to encode because None can't be encoded in GET and POST data. Either pass an empty string or omit the value. ping_google 管理コマンドは、サイ ... key argument of the cache.delete() or cache.get() now raises ValueError . Plural equations for some languages are changed, because the latest versions from Transifex are incorporated. 注釈 The ability to handle .po files containing different plural equa ... ... world. Storing datetimes in UTC for database portability and interoperability. (This argument doesn't apply to PostgreSQL, because it already stores timestamps with time zone information in Django 1.3.) Avoiding data corruption problems around DST trans ... eption for aware time objects. It includes milliseconds for datetime and time objects. There is still some precision loss, because Python stores microseconds (6 digits) and JSON only supports milliseconds (3 digits). However, it's better than discarding ... This is wrong for URLs whose unquoted form contains a %xx sequence, but such URLs are very unlikely to happen in the wild, because they would confuse browsers too. assertTemplateUsed and assertTemplateNotUsed as context manager ¶ It's now possible to ch ... 2026年10月08日