MySQL documentation needs to note lack of support for timezone info...
|Reported by:||RantyDave||Owned by:||nobody|
|Severity:||Keywords:||MySQL datetime DateTimeField|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The current (5.1.50) version of MySQL has no support for timezone information in date fields. Python does and an attempt to write a models.DateTimeField that contains timezone information fails and throws a ValueError('MySQL backend does not support timezone-aware datetimes.',).
All I'm suggesting is that the documentation at http://docs.djangoproject.com/en/1.2/ref/databases/#notes-on-specific-fields makes note of this.
Change History (5)
comment:1 Changed 3 years ago by gabrielhurley
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted