1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fix #17174: Add note in the supported databases notes that MySQL can't conceive of a time unit smaller than a second. Thanks jammon and poirier.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2011-11-13 19:28:43 +00:00
parent 5de31cb8cb
commit fae75a32ee

View File

@ -372,6 +372,9 @@ store a timezone-aware ``time`` or ``datetime`` to a
:class:`~django.db.models.TimeField` or :class:`~django.db.models.DateTimeField`
respectively, a ``ValueError`` is raised rather than truncating data.
MySQL does not store fractions of seconds. Fractions of seconds are truncated
to zero when the time is stored.
Row locking with ``QuerySet.select_for_update()``
-------------------------------------------------