Django 1.6.2 版本发行说明
- Prevented the base geometry object of a prepared geometry to be garbage collected, which could lead to crash Django (#21662).
- Fixed a crash when executing the command when the user object representation contained non-ASCII characters (#21627).
- The command will raise an error rather than default to using the current working directory if STATIC_ROOT is not set. Combined with the option, the previous behavior could wipe anything below the current working directory ().
- Fixed an issue where when
settings.DATABASES['default']['AUTOCOMMIT'] = False
, the connection wasn’t in autocommit mode but Django pretended it was. - Fixed a regression in multiple-table inheritance queries (#21787).
- Added missing items to
django.utils.timezone.__all__
(). - Fixed join promotion for negated
AND
conditions (#21748). - Oracle database introspection now works with boolean and float fields ().
- Fixed an issue where lazy objects weren’t actually marked as safe when passed through mark_safe() and could end up being double-escaped ().