Ticket #23631: 23631.diff

File 23631.diff, 692 bytes (added by Tim Graham, 10 years ago)
  • docs/ref/databases.txt

    diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
    index dde56a3..3279f35 100644
    a b DateTime fields  
    520520MySQL does not have a timezone-aware column type. If an attempt is made to
    521521store a timezone-aware ``time`` or ``datetime`` to a
    522522:class:`~django.db.models.TimeField` or :class:`~django.db.models.DateTimeField`
    523 respectively, a ``ValueError`` is raised rather than truncating data.
     523respectively and :setting:`USE_TZ=False <USE_TZ>`, a ``ValueError`` is raised
     524rather than truncating data.
    524525
    525526MySQL does not store fractions of seconds. Fractions of seconds are truncated
    526527to zero when the time is stored.
Back to Top