Commit b7336ec1 authored by Kristian Glass's avatar Kristian Glass Committed by Tim Graham
Browse files

Fixed #23342 -- Clarified warning about naive time objects.

Thanks to apollo13 for suggested wording.
parent 14aff0bd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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: