Fixed #23420 - broken warning for unbound naive datetime objects

Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).
This commit is contained in:
Andy Chosak 2014-10-08 15:12:42 -04:00 committed by Anssi Kääriäinen
parent c548c8d0d1
commit ceb1ffcc8d
4 changed files with 48 additions and 5 deletions

View file

@ -43,3 +43,6 @@ Bugfixes
* Fixed a migrations crash when adding ``GeometryField``\s with ``blank=True``
on PostGIS (:ticket:`23731`).
* Allowed usage of ``DateTimeField()`` as ``Transform.output_field``
(:ticket:`23420`).