[1.7.x] Fixed #23342 -- Clarified warning about naive time objects.

Thanks to apollo13 for suggested wording.

Backport of b7336ec179 from master
This commit is contained in:
Kristian Glass 2014-08-22 12:24:46 +02:00 committed by Tim Graham
parent 7abb88a19c
commit 8aca08f828
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ should be aware too. In this mode, the example above becomes::
lead to questionable usefulness".
Django only supports naive time objects and will raise an exception if you
attempt to save an aware time object.
attempt to save an aware time object, as a timezone for a time with no
associated date does not make sense.
.. _naive-datetime-objects: